[wp-trac] [WordPress Trac] #33273: #33106 bug - i still get this with 4.2.4?

WordPress Trac noreply at wordpress.org
Wed Aug 5 09:35:48 UTC 2015


#33273: #33106 bug - i still get this with 4.2.4?
-------------------------------+-----------------------------
 Reporter:  stuartezonewp.com  |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Formatting         |    Version:  4.2.4
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 This is a follow-up to #33106.

 Hi - I had this issue on a clients site and with the release of 4.2.4 the
 site still has it:
 {{{
 // ]]>
 </script>
 }}}

 Changes to

 {{{
 // ]]></script>
 }}}

 and therefore the closing script tag is commented out.

 WP adds in the CDATA tags with the / / comments and removes any newlines
 in the code so the comment, closing CDATA tag and the script tag are all
 put on the same line.

 This only happens when changing the WYSIWYG editor from "Text" to "Visual"
 mode - the Visual mode "tidies" the code and creates the issue.

 I thought this was fixed in 4.2.4 or is this a different issue from what
 was fixed in #33106?

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


More information about the wp-trac mailing list