You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an contains some correctly escaped html entities like:
Pie > Bread
Then in the Stylish select, the entities are no longer escaped, and you get:
Pie > Bread.
Which is incorrect. The entities should still be escaped.
Suppose you had:
Choose your tag
<li>
<p>
This completely breaks the rendering of the stylish select.
The fix is really easy: just replace the 3 occurrances of .text(); in the code with .html();
If I knew how to use Git, or I wasn't in the middle of something else then I'd make this change and check it in. NB: The occurrances of .text(some_var_here); do not need to be replaced.
The text was updated successfully, but these errors were encountered:
I found this issue still in the latest version of the source available on this site. Looks like the option text is retrieved as HTML but still set as text.
If an contains some correctly escaped html entities like:
Pie > BreadThen in the Stylish select, the entities are no longer escaped, and you get:
Pie > Bread.
Which is incorrect. The entities should still be escaped.
Suppose you had:
Choose your tag
<li> <p>
This completely breaks the rendering of the stylish select.
The fix is really easy: just replace the 3 occurrances of .text(); in the code with .html();
If I knew how to use Git, or I wasn't in the middle of something else then I'd make this change and check it in. NB: The occurrances of .text(some_var_here); do not need to be replaced.
The text was updated successfully, but these errors were encountered: