HTML Entities are not encoded
nickw444 opened this issue · 1 comments
nickw444 commented
Text which contains ampersands (and other unsafe entities) are not encoded.
For example calling PrismicDom.RichText.asHtml on data that contains text that contains ampersands &
, returns invalid HTML markup
<span>foo bar & baz </span>
When it would be expected to get
<span>foo bar & baz </span>
nickw444 commented
Raised in wrong repo