mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-21 07:05:33 +00:00
Fixed: Metadata formatting
This commit is contained in:
@@ -1826,7 +1826,8 @@ public class PreviewPanel extends JPersistentSplitPane implements TagEditorPanel
|
||||
}
|
||||
|
||||
public static String formatMetadata(String input, int indent) {
|
||||
input = input.replace("> <", "><");
|
||||
input = input.replaceAll("\r?\n", "");
|
||||
input = input.replaceAll("> +<", "><");
|
||||
try {
|
||||
Source xmlInput = new StreamSource(new StringReader(input));
|
||||
StringWriter stringWriter = new StringWriter();
|
||||
|
||||
Reference in New Issue
Block a user