[wp-trac] [WordPress Trac] #56893: Unnecessary line breaks added by the code editor that breaks JavaScript
WordPress Trac
noreply at wordpress.org
Sun Oct 23 20:33:08 UTC 2022
#56893: Unnecessary line breaks added by the code editor that breaks JavaScript
--------------------------+------------------------------
Reporter: sweetheatmn | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 6.0.3
Severity: critical | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by sajjad67):
Thank You for noticing it @sweetheatmn. But the editor is not the best
place to put Inline JS Code, and that's why it was not designed to escape
the inline JS!! But it should escape!! I agree. @SergeyBiryukov What is
your thought? Do we add an escape for the editors if it's wrapped around
`<script></script>`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56893#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list