lxzliuxinzhu / syntaxhighlighter

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

XML block disapears with 1.5.1 and FF 3.0 #132

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The new xml attribute parsing is not working correctly in 1.5.1 on XP's FF
3.0. 

shBrushXml::ProcessRegexList:
The code for getting attributes from the given xml tests for match[1]==null
at the beginning of that function. My Firefoxes match object has
"undefined" at slot 1 for all non-attributes, so everything gets passed to
the "Match" function which throws then. 

Or'ing both possibilities at the if worked for me.

Best,
Oliver

Original issue reported on code.google.com by o.kaefer...@gmail.com on 29 Dec 2008 at 7:17