[wp-trac] [WordPress Trac] #50900: 5.5-RC3 - Code Editor Broken (change of behavior; Inserts br in content)
WordPress Trac
noreply at wordpress.org
Tue Aug 11 21:15:19 UTC 2020
#50900: 5.5-RC3 - Code Editor Broken (change of behavior; Inserts br in content)
--------------------------+------------------------------
Reporter: Justin_K | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by Justin_K):
After some more digging through the multiple duplicate versions of autop,
this bug is caused by the js functions removep and & autop in wp-
includes/js/dist/autop.js. If I return at the first line of those
functions, the code editor behaves properly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50900#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list