[FIX] Disable Html Escaping

This commit is contained in:
microwin7 2022-07-21 11:35:13 +03:00 committed by GitHub
parent 6bed8b383d
commit d46c380f45
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);