This commit is contained in:
Ben Fry
2014-11-15 22:46:35 -07:00
parent 5b56bda02c
commit ef43a024fe
2 changed files with 13 additions and 8 deletions

View File

@@ -300,6 +300,11 @@ public class Language {
if (equals != -1) {
String key = line.substring(0, equals).trim();
String value = line.substring(equals + 1).trim();
// fix \n and \'
value = value.replaceAll("\\\\n", "\n");
value = value.replaceAll("\\\\'", "'");
table.put(key, value);
}
}