From a5ad2d1388a4db8d1059ec099d5ee62ef39178d9 Mon Sep 17 00:00:00 2001 From: "honfika@gmail.com" Date: Thu, 10 Mar 2016 22:55:37 +0100 Subject: [PATCH] fix5 --- .../src/com/jpexs/decompiler/flash/xfl/XFLXmlWriter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]); }