Images render as <figure>, which isn't allowed inside <p>. The unwrap plugin only handled paragraphs containing a single image, so a label followed by images on the next lines (as on the Projects page) produced invalid HTML and a hydration error. Split such paragraphs instead. |
||
|---|---|---|
| .. | ||
| categories.ts | ||
| mermaid-render.ts | ||
| og-image.tsx | ||
| posts.tsx | ||
| react-node-text.ts | ||
| rehype-code-meta.tsx | ||
| rehype-definition.tsx | ||
| rehype-mark.tsx | ||
| rehype-mermaid-ssg.ts | ||
| rehype-unwrap-images.tsx | ||
| tags.ts | ||