Skip to content

Commit e96888f

Browse files
committed
Disabled html escaping
1 parent 5c2ed3d commit e96888f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/javawebstack/abstractdata/AbstractElement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ default Number number() {
7878
default String toJsonString(boolean pretty) {
7979
if (pretty)
8080
return new GsonBuilder().setPrettyPrinting().disableHtmlEscaping().create().toJson(toJson());
81-
return new Gson().toJson(toJson());
81+
return new GsonBuilder().disableHtmlEscaping().create().toJson(toJson());
8282
}
8383

8484
default String toJsonString() {

0 commit comments

Comments
 (0)