[wp-trac] [WordPress Trac] #34698: HTML-Embed code JavaScript error.

WordPress Trac noreply at wordpress.org
Thu Nov 19 03:38:19 UTC 2015


#34698: HTML-Embed code JavaScript error.
--------------------------+-------------------------
 Reporter:  nendeb55      |       Owner:  swissspidy
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.4
Component:  Embeds        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-------------------------

Comment (by pento):

 This is caused by `convert_chars()` and `wptexturize()` indiscriminately
 converting `&` to `&`, which it shouldn't be doing to `&` characters
 within `<script>` tags.

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


More information about the wp-trac mailing list