CloudCannon / bookshop

📚 A component development workflow for static websites.
MIT License
247 stars 21 forks source link

Escape strings in bookshop comment #190

Open AlyshaNolan opened 7 months ago

AlyshaNolan commented 7 months ago

If the user doesn't escape html comments in strings the bookshop_live comment sees the end of comment string and closes the comment which causes the rest of the text to appear on the page output.

Screenshot 2024-02-13 at 9 15 58 AM Screenshot 2024-02-13 at 9 16 15 AM