From c9137be051ce98b3e3e27f65f54ec7d9f8886903 Mon Sep 17 00:00:00 2001 From: Arnaud Roques Date: Thu, 7 Apr 2022 19:07:38 +0200 Subject: [PATCH] wip --- src/net/sourceforge/plantuml/ugraphic/UImageSvg.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/net/sourceforge/plantuml/ugraphic/UImageSvg.java b/src/net/sourceforge/plantuml/ugraphic/UImageSvg.java index 38012d112f6..206724d1824 100644 --- a/src/net/sourceforge/plantuml/ugraphic/UImageSvg.java +++ b/src/net/sourceforge/plantuml/ugraphic/UImageSvg.java @@ -52,15 +52,15 @@ public UImageSvg(String svg, double scale) { this.scale = scale; } - private String clean(String svg) { - svg = svg.toLowerCase().replaceAll("\\s", ""); - if (svg.contains("")) + if (svg2.contains("")) return EMPTY_SVG; - if (svg.contains("")) + if (svg2.contains("")) return EMPTY_SVG; return svg; }