diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java index 5b41c5145..99979afbf 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java @@ -2964,11 +2964,6 @@ public class XFLConverter { psXml.writeElementValue("policy-file-url", "http://fpdownload.adobe.com/pub/swz/crossdomain.xml"); psXml.writeElementValue("rsl-url", "textLayout_2.0.0.232.swz"); psXml.writeEndElement(); - psXml.writeStartElement("library-path-entry"); - psXml.writeElementValue("swc-path", "$(FlexSDK)/frameworks/libs/core.swc"); - psXml.writeElementValue("linkage", "merge"); - psXml.writeElementValue("rsl-url", "textLayout_2.0.0.232.swz"); - psXml.writeEndElement(); psXml.writeEndElement(); psXml.writeStartElement("LibraryVersions"); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLXmlWriter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLXmlWriter.java index c6c918fbe..e3b07128a 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLXmlWriter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLXmlWriter.java @@ -327,8 +327,11 @@ public class XFLXmlWriter implements XMLStreamWriter { } public static String escapeText(String text) { - String[] from = new String[]{"&", "<"}; - String[] to = new String[]{"&", "<"}; + //String[] from = new String[]{"&", "<"}; + //String[] to = new String[]{"&", "<"}; + // temporary escape everything to make easier to compare the export with the old export + String[] from = new String[]{"&", "<", "\"", "'", "\r", "\n"}; + String[] to = new String[]{"&", "<", """, "'", " ", " "}; for (int i = 0; i < from.length; i++) { text = text.replace(from[i], to[i]); }