sunshengfei / google-code-prettify

Automatically exported from code.google.com/p/google-code-prettify
0 stars 0 forks source link

prettify.js doesn't work in XHTML #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Load prettify.js in an XHTML file.

It breaks because it writes <span class=pln> which is invalid XHTML
(missing quotes around pln).

Original issue reported on code.google.com by dp...@google.com on 16 Jul 2008 at 6:19

GoogleCodeExporter commented 8 years ago
I don't know when this was fixed, but line 1033 reads
          html.push('<span class="', openDecoration, '">');

Original comment by mikesamuel@gmail.com on 14 Jan 2009 at 8:21