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

WordPress Trac noreply at wordpress.org
Tue Nov 24 00:57:52 UTC 2015


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

Comment (by nendeb55):

 Apparently SyntaxHighlighter Evolved Plugin seems to react to the short
 code `[c]`.
 It was working properly If you remove the `c` of syntaxhighlighter_brushes
 definition of syntaxhighlighter.php.



 ..for(c=0;c<j.length;c++)j`[c]`.style.display="none";for(c=0;c<i.length;c++)if(d=i`[c]`,d.style.display="..

 To

 ..for(c=0;c<j.length;c++)j.style.display="none";for(c=0;c<i.length;c++)if(d=i,d.style.display=""..

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


More information about the wp-trac mailing list