[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 10:22:36 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:  General       |    Version:  6.0.3
 Severity:  critical      |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 adding a simple JavaScript to the code editor and hitting the publish
 button just adds unnecessary
 {{{
 </br>
 }}}

 inside the Javascript which is a sufficient reason to break any JavaScript

 How to reproduce, simply add a new post, paste/write any JavaScript and
 click the publish button to see the black magic

 [[Image(https://i.imgur.com/fyrAwtI.png)]]

 Regards,
 Atef

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56893>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list