Index: trunk/scripts/SyncEditorLayerIndex.java
===================================================================
--- trunk/scripts/SyncEditorLayerIndex.java	(revision 15699)
+++ trunk/scripts/SyncEditorLayerIndex.java	(revision 15712)
@@ -356,5 +356,5 @@
         if (escape) {
             return s.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
-        } else if (s.matches("[<>&]"))
+        } else if (s.matches(".*[<>&].*"))
             return "<![CDATA["+s+"]]>";
         return s;
