Skip to content

Commit

Permalink
CLDR-16662 json: Don't over-escape values (#3306)
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 authored Oct 3, 2023
1 parent 6cef7be commit 3dee601
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2168,7 +2168,7 @@ public void processDirectory(String dirName, DraftStatus minimalDraftStatus)
*/
private String escapeValue(String value) {
Matcher match = escapePattern.matcher(value);
String ret = match.replaceAll("\\\\\\\\");
String ret = match.replaceAll("\\\\");
return ret.replace("\n", " ").replace("\t", " ");
}

Expand Down

0 comments on commit 3dee601

Please sign in to comment.