feat: RichText component for safe PocketBase HTML rendering
Add html-react-parser-backed RichText component that converts HTML strings from PocketBase rich-text fields into React elements without dangerouslySetInnerHTML. Replace raw <p> render in IntroSection and BioSection, and drop the invalid slug filters those collections lacked.
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"clsx": "^2.1.1",
|
||||
"html-react-parser": "^6.1.0",
|
||||
"next": "16.2.4",
|
||||
"react": "19.2.4",
|
||||
"react-dom": "19.2.4",
|
||||
|
||||
Reference in New Issue
Block a user