mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-20 21:05:34 +00:00
Fixed: Metadata formatting
This commit is contained in:
@@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
|
||||
### Added
|
||||
- [#1209], [#1850], [#2619] Debugging SWF in the web browser
|
||||
|
||||
### Fixed
|
||||
- Metadata formatting
|
||||
|
||||
## [25.0.0] - 2026-02-10
|
||||
### Added
|
||||
- [#2610] Export morphshapes - export individual frames, setting of morph
|
||||
|
||||
@@ -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