jquery / 2012-dev-summit

Information regarding the 2012 Developer Summit in DC
14 stars 14 forks source link

Syntax highlighting is too eagerly converting to HTML entities #90

Closed ajpiano closed 12 years ago

ajpiano commented 12 years ago

Seems that syntaxhighligher's JS brush has some "preprocess" regex that is actually just destroying many of our code blocks by converting things to entities, see:

bad entities

@bobholt traced it back to https://github.com/thlorenz/node-syntaxhighlighter/blob/master/lib/scripts/shBrushJScript.js#L23. If that's commented out, the entity conversion isn't happening.

ajpiano commented 12 years ago

Superseded by https://github.com/jquery/grunt-jquery-content/issues/18