i tried to use Syntax Highlighter in a XHTML/CSS Template. i noticed if i use the .xhtml extension the Syntax Highlighter fails. if i rename the extension to .html it works.
so the question is: - Syntax Highlighter does not work with XHTML? - whats the difference between .xhtml vs .htm/html? if i still have the same code? xml declaration etc (for xhtml)?
i tried 1.5.1 and 2 (http://alexgorbatchev.com/wiki/SyntaxHighlighter) when i rename extension to html it will work
Syntax Highlighter 2.0 code
$(function() { SyntaxHighlighter.all(); });<pre class="brush:xhtml"><h1 class="bottom">This is a normal H1</h1> <h1 class="tag">This is a H1 with a class "tag"</h1></pre>