Found this content helpful? Log in or sign up to leave a like!
protect html entities from server-side escaping?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2018
04:52 AM
I'm trying to post HTML content pages (e.g. syllabus) that contains HTML entities such as html5 checkmarks (✓). The content posts successfully, but the leading "&" is expanded server-side to "&and", I think. I've taken a look at the JSON I'm posting and it seems the entities are unexpanded in that file. Is there a standard trick for avoiding this? otherwise I guess I will have to just remove these characters from my syllabus, is that right?