Escape '"' as '\"' in XML files.

This commit is contained in:
Ryszard Wiśniewski 2011-05-03 04:50:54 +02:00
parent 5c3c1b5be3
commit fb5115e56d

View File

@ -542,9 +542,11 @@ final public class AndrolibResources {
switch (c) {
case '\\':
case '\'':
case '"':
out.append('\\');
break;
case '"':
out.append("\\"");
continue;
case '\n':
out.append("\\n");
continue;