livebs / syntaxhighlighter

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

XHTML not supported in IE? #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to display:
<pre name="code" class="html">
<a class="button" onclick="this.blur();" href="#"><span>Button</span></a>
</pre>

What is the expected output? 
<a class="button" onclick="this.blur();" href="#"><span>Button</span></a>

What do you see instead?
<A class=button onclick=this.blur(); href="#"><SPAN>Button</SPAN></A> 

What version of the product are you using? 
v1.5

On what operating system?
Windows XP, IE 6 & 7

Please provide any additional information below.

Original issue reported on code.google.com by paul.kil...@gmail.com on 25 May 2007 at 6:22

GoogleCodeExporter commented 8 years ago
With <pre/> tags you must encode < and > brackets.

http://code.google.com/p/syntaxhighlighter/wiki/PreAndTextarea

Original comment by alex.gor...@gmail.com on 28 Jun 2007 at 10:56