Export to GitHub

syntaxhighlighter - issue #85

Turning CSS OFF


Posted on Jul 2, 2008 by Swift Cat

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

Status: New

Labels:
Type-Defect Priority-Medium