katheryn-website/frontend/scripts
Jeff Emmett 204679b740 Fix blog excerpt rendering: remove shortcodes and decode HTML entities
- Add decodeExcerptEntities() to handle —, …, smart quotes, etc.
- Add removeShortcodes() to strip [caption] and other WordPress shortcodes
- Regenerate blog-posts.json and pages.json with cleaned excerpts

Fixes issue where [caption] tags and raw HTML entities appeared in blog listings.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 13:46:20 +00:00
..
parse-squarespace-xml.js Fix blog excerpt rendering: remove shortcodes and decode HTML entities 2026-02-05 13:46:20 +00:00