diff --git a/src/main/java/ch/fritteli/labyrinth/generator/renderer/html/HTMLRenderer.java b/src/main/java/ch/fritteli/labyrinth/generator/renderer/html/HTMLRenderer.java index fc03f38..c5b3aa6 100644 --- a/src/main/java/ch/fritteli/labyrinth/generator/renderer/html/HTMLRenderer.java +++ b/src/main/java/ch/fritteli/labyrinth/generator/renderer/html/HTMLRenderer.java @@ -5,7 +5,109 @@ import ch.fritteli.labyrinth.generator.renderer.Renderer; import lombok.NonNull; public class HTMLRenderer implements Renderer { - private static final String POSTAMBLE = ""; + + private static final String POSTAMBLE = ""; private HTMLRenderer() { } @@ -23,7 +125,7 @@ public class HTMLRenderer implements Renderer { } final Generator generator = new Generator(labyrinth); final StringBuilder sb = new StringBuilder(this.getPreamble(labyrinth)); - sb.append(""); + sb.append("
"); while (generator.hasNext()) { sb.append(generator.next()); } @@ -39,11 +141,12 @@ public class HTMLRenderer implements Renderer { "" + "" + "" + "" + "" + - "show solution"; + ""; } - }