Merge pull request #600 from microwin7/patch-10

[FIX] Disable Html Escaping
This commit is contained in:
Gravit 2022-07-21 22:06:41 +07:00 committed by GitHub
commit dbdc1b4d6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ public class GsonManager {
public void initGson() { public void initGson() {
gsonBuilder = CommonHelper.newBuilder(); gsonBuilder = CommonHelper.newBuilder();
configGsonBuilder = CommonHelper.newBuilder(); configGsonBuilder = CommonHelper.newBuilder();
configGsonBuilder.setPrettyPrinting(); configGsonBuilder.setPrettyPrinting().disableHtmlEscaping();
registerAdapters(gsonBuilder); registerAdapters(gsonBuilder);
registerAdapters(configGsonBuilder); registerAdapters(configGsonBuilder);
preConfigGson(configGsonBuilder); preConfigGson(configGsonBuilder);