[FIX] Gson disableHtmlEscaping

This commit is contained in:
microwin7 2021-09-05 23:20:40 +03:00
parent 602f8f7daf
commit 4ea5f14b6a

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);