SyntaxHighlighter Code block: improper encoding/decoding of HTML entities #152
Labels
[Pri] High
Wide impact, no workaround.
[Status] Queued
In the queue of issues to work on next.
[Type] Bug
Originally reported internally by @tbradsha
Steps to reproduce
What I expected
The text would show as above on the live site and in the editor.
What happened instead
In the editor: HTML, decimal, and hex entities are rendered as their respective characters
On the live site: decimal and hex entities are rendered to their respective characters
To complicate matters further,
&
,<
, and>
seem to behave in even more non-standard ways:&
:&
&
<
:<
>
:>
Browser / OS version
Chrome 75 on macOS 10.14.5
Context / Source
Reported in #13419156-hc. Was able to replicate on my end. This appears to be a regression per the user report, and I'd say this is a pretty serious bug that directly leads post data corruption/loss.
The text was updated successfully, but these errors were encountered: