diff --git a/src/net/sourceforge/plantuml/ugraphic/UImageSvg.java b/src/net/sourceforge/plantuml/ugraphic/UImageSvg.java index 38012d112..206724d18 100644 --- a/src/net/sourceforge/plantuml/ugraphic/UImageSvg.java +++ b/src/net/sourceforge/plantuml/ugraphic/UImageSvg.java @@ -52,15 +52,15 @@ public class UImageSvg implements UShape { 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; }