Custom CSS outputting HTML entities instead of correct characters #678
Labels
[Component] Themes & Customization
Custom WC Themes, compatibility with core themes, and theme-adjacent customizations to sites
[Type] Bug
[Type] Good First Issue
Straightforward, self-contained, doesn't require deep knowledge of codebase
Describe the bug
I compared to a fresh WordPress install to verify, it seems like it's only happening on WordCamp sites. The
>
symbol is being output as>
in the customizer CSS output.To reproduce
Steps to reproduce the behavior:
>
selector.My example uses:
#subscribe-submit > button { background: gray; }
>
is replaced with>
Might be related to #574?
Expected behavior
I would expect the output to have
>
since it's a proper CSS selector. Or if it must be sanitized out, showing an error message or something to indicate that it's not an allowed character would be nice.Screenshots
I made a screen recording comparing the WordCamp site with a fresh WP install.
WordCamp
Noticed on NEO but I'm guessing other sites have the same issue.
System (please complete the following information):
The text was updated successfully, but these errors were encountered: