Changeset 399


Ignore:
Timestamp:
07/27/07 03:00:13 (5 years ago)
Author:
bermi
Message:

Fixing part 1 of ticket #69 where double entity escaping was not working on tag attributes.

Adding Unit Test framework for WYMeditor using a modified version of jQuery testrunner.js.

Location:
trunk/src/wymeditor
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wymeditor/xhtml_parser.js

    r396 r399  
    114114XmlHelper.prototype._fixDoubleEscape = function(escaped) 
    115115{ 
    116   return escaped.replace(/&([a-z]+|(#\d+));/i, "&$1;"); 
     116  return escaped.replace(/&([a-z]+|(#\d+));/ig, "&$1;"); 
    117117} 
    118118 
Note: See TracChangeset for help on using the changeset viewer.