Merge branch 'bug/handle-newline-mustache-replacement' into 'release'

Json serialisation fix : Double escape java to conserve \n

See merge request theappsmith/internal-tools-server!246
This commit is contained in:
Trisha Anand 2020-03-30 09:45:39 +00:00
commit b92557c480

View File

@ -292,7 +292,7 @@ public class ActionServiceImpl extends BaseService<ActionRepository, Action, Str
else if (param.getValue() == null) {
param.setValue("");
} else {
String value = StringEscapeUtils.escapeJava(param.getValue());
String value = StringEscapeUtils.escapeJava(StringEscapeUtils.escapeJava(param.getValue()));
param.setValue(value);
}
}