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 5da10c47b..f2d9359f4 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 @@ -360,7 +360,7 @@ public class XFLXmlWriter implements XMLStreamWriter { //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[]{"&", "<", """, "'", " ", " "}; + String[] to = new String[]{"&", "<", """, "'", " ", " "}; for (int i = 0; i < from.length; i++) { text = text.replace(from[i], to[i]); } @@ -369,7 +369,7 @@ public class XFLXmlWriter implements XMLStreamWriter { public static String escapeAttribute(String text) { String[] from = new String[]{"&", "<", "\"", "'", "\r", "\n"}; - String[] to = new String[]{"&", "<", """, "'", " ", " "}; + String[] to = new String[]{"&", "<", """, "'", " ", " "}; for (int i = 0; i < from.length; i++) { text = text.replace(from[i], to[i]); }