diff --git a/src/main/java/de/neemann/digital/draw/shapes/custom/svg/SvgTemplate.java b/src/main/java/de/neemann/digital/draw/shapes/custom/svg/SvgTemplate.java index c4452af92..215f23636 100644 --- a/src/main/java/de/neemann/digital/draw/shapes/custom/svg/SvgTemplate.java +++ b/src/main/java/de/neemann/digital/draw/shapes/custom/svg/SvgTemplate.java @@ -69,8 +69,7 @@ public class SvgTemplate implements Closeable { + " empspacing=\"4\"\n" + " spacingx=\"5\"\n" + " spacingy=\"5\" />\n" - + " \n" - + " \n"); + + " \n"); } /** @@ -79,23 +78,22 @@ public class SvgTemplate implements Closeable { * @throws Exception Exception */ public void create() throws Exception { - w.write(" \n"); + w.write(" \n"); int y = 0; for (PinDescription i : inputs) { - w.write(" \n"); + w.write(" \n"); y += 20; } y = 0; for (PinDescription o : outputs) { - w.write(" \n"); + w.write(" \n"); y += 20; } } @Override public void close() throws IOException { - w.write("\n"); w.write("\n"); w.close(); }