h13i32maru / google-code-prettify

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

In IE8, "lang-none" inserts unwanted <br>s between code lines #219

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use "lang-none" language hint

Exected: lines of code without syntax highlighting

Actual: lines of code without syntax highlighting and with additional blank 
line after each original line of code. Unwanted <br> tags are inserted after 
each line.

Happens on IE8 and IE9 (IE8 compatibility mode).

See 
http://meta.stackoverflow.com/questions/133696/language-lang-none-adds-unwanted-
line-breaks for an example and a screenshot.

Original issue reported on code.google.com by gser...@gmail.com on 25 May 2012 at 10:35

GoogleCodeExporter commented 9 years ago
If you just leave off the prettyprint class you will get no language 
highlighting.  Is that not doable in your use case?

Original comment by mikesamuel@gmail.com on 29 Jun 2012 at 2:59