mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-28 03:15:40 +00:00
Merge remote-tracking branch 'origin/pr/489'
This commit is contained in:
commit
40229848d6
2 files changed
+2
-2
No files matched your search
@@ -79,7 +79,7 @@ public class MappingWriterJson extends MappingWriter {
|
||||
|
||||
try {
|
||||
writer = this.openFileWriter(output, type + " output");
|
||||
Gson gson = new GsonBuilder().setPrettyPrinting().create();
|
||||
Gson gson = new GsonBuilder().setPrettyPrinting().disableHtmlEscaping().create();
|
||||
gson.toJson(mappings, writer);
|
||||
} catch (IOException ex) {
|
||||
ex.printStackTrace();
|
||||
|
||||
@@ -246,7 +246,7 @@ public final class ReferenceMapper implements IReferenceMapper, Serializable {
|
||||
* @param writer Writer to write to
|
||||
*/
|
||||
public void write(Appendable writer) {
|
||||
new GsonBuilder().setPrettyPrinting().create().toJson(this, writer);
|
||||
new GsonBuilder().setPrettyPrinting().disableHtmlEscaping().create().toJson(this, writer);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user