Changeset 687

Show
Ignore:
Timestamp:
09/07/06 13:22:18 (2 years ago)
Author:
JeremyRuston
Message:

Allow combining diacriticals in htmlEntitiesEncoding (ticket #116)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Branches/2.1/core/js/Formatter.js

    r567 r687  
    558558{ 
    559559        name: "htmlEntitiesEncoding", 
    560         match: "&#?[a-zA-Z0-9]{2,8};", 
     560        match: "(?:(?:&#?[a-zA-Z0-9]{2,8};|.)(?:&#?(?:x0*(?:3[0-6][0-9a-fA-F]|1D[c-fC-F][0-9a-fA-F]|20[d-fD-F][0-9a-fA-F]|FE2[0-9a-fA-F])|0*(?:76[89]|7[7-9][0-9]|8[0-7][0-9]|761[6-9]|76[2-7][0-9]|84[0-3][0-9]|844[0-7]|6505[6-9]|6506[0-9]|6507[0-1]));)+|&#?[a-zA-Z0-9]{2,8};)", 
    561561        handler: function(w) 
    562562                {