View Single Post
Join Date: Apr 2007
Posts: 25
Reputation: jmasta is an unknown quantity at this point 
Solved Threads: 0
jmasta jmasta is offline Offline
Light Poster

Re: Javascript using regex to fix html tags

 
0
  #5
Dec 29th, 2008
Here's what I have discovered. The content for both Internet Explorer and Firefox are the same up until:
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. treeContent = spanNodes.item(0).xml || (new XMLSerializer()).serializeToString(spanNodes.item(0));

Following this, treeContent has stripped out the </span> and changed it to /> . I'm now looking into what the XMLSerializer does and trying to discover why it works differently than .xml. Any ideas?
Thanks,
Reply With Quote