bmroberts1987 / syntaxhighlighter

Automatically exported from code.google.com/p/syntaxhighlighter
GNU General Public License v3.0
0 stars 0 forks source link

Turning CSS OFF #85

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Turning CSS off

What is the expected output? What do you see instead?

The font is serif. Maybe it should be monospaced?

What version of the product are you using? On what operating system?

ver. 1.5.1

Please provide any additional information below.

The solution is to change span (used for lines) to code.
Changing line #425 from:

var span = this.CreateElement('SPAN'); 

to

var span = this.CreateElement('code');

solves the problem.

For additional info on turning css off read issue #73 and it's comments:

http://code.google.com/p/syntaxhighlighter/issues/detail?id=73

thanks,
gajdaw

Original issue reported on code.google.com by wlodzimi...@gmail.com on 2 Jul 2008 at 8:28