[wp-trac] [WordPress Trac] #33106: Removal of newlines in CDATA breaks inline scripts

WordPress Trac noreply at wordpress.org
Thu Jul 30 19:32:20 UTC 2015


#33106: Removal of newlines in CDATA breaks inline scripts
-----------------------------------+--------------------------
 Reporter:  jeremyfelt             |       Owner:  miqrogroove
     Type:  defect (bug)           |      Status:  reopened
 Priority:  highest omg bbq        |   Milestone:  4.2.4
Component:  Formatting             |     Version:  4.2.3
 Severity:  major                  |  Resolution:
 Keywords:  has-patch fixed-major  |     Focuses:
-----------------------------------+--------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:40 millertimesites]:
 > The code needs to be able to work inline with the content/text of each
 page.
 > Maybe there is a solution that can be added to the theme's Quick CSS?

 Until 4.2.4 is out, try adding the code from comment:39 to the theme's
 `function.php` file, it should work for all posts and pages (just tested).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33106#comment:45>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list