sandeeprsp / syntaxhighlighter

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

xml gets reformatted, not just hilighted #61

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
when formatting XML, try to format the code:  <foo/>

I expect the output would be <foo/>

Instead I see:
<foo> 
</foo>

It won't preserve the syntax of <foo/>  it forces it to be broken into
begin and end tags.

Original issue reported on code.google.com by wycks...@gmail.com on 6 Mar 2008 at 6:43

GoogleCodeExporter commented 8 years ago
Nevermind.  It works fine when you do %CODE{lang="xml" el="textarea"}%

Original comment by wycks...@gmail.com on 6 Mar 2008 at 6:48