[wp-trac] [WordPress Trac] #39482: wp_customize_support_script() has a javascript comment which breaks one-lined html.

WordPress Trac noreply at wordpress.org
Tue Jan 10 00:59:50 UTC 2017


#39482: wp_customize_support_script() has a javascript comment which breaks one-
lined html.
--------------------------+----------------------
 Reporter:  agrabush      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Customize     |     Version:  4.7
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by johnbillion):

 * keywords:  reporter-feedback =>
 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Sorry this is causing you a problem, but this really is an issue with the
 functionality that naïvely strips new lines from the output. It's easily
 fixed. [http://www.crockford.com/javascript/jsmin.html JSMin correctly
 handled inline comments when it was first written 13 years ago].

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


More information about the wp-trac mailing list