Ignore:
Timestamp:
2020-01-15T08:40:25+01:00 (5 years ago)
Author:
stoecker
Message:

see #18172 - reactivate cdata, seems Groovy and Java handle RegExp differently

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/SyncEditorLayerIndex.java

    r15699 r15712  
    356356        if (escape) {
    357357            return s.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
    358         } else if (s.matches("[<>&]"))
     358        } else if (s.matches(".*[<>&].*"))
    359359            return "<![CDATA["+s+"]]>";
    360360        return s;
Note: See TracChangeset for help on using the changeset viewer.