//Java Code
html().with(
    head().with(
        title().withText("Title"),
        link().withRel("stylesheet").withHref("/css/main.css")
    ),
    body().with(
        main().with(
            h1().withText("Heading!")
        )
    )
).render();


/* Rendered HTML
<html>
    <head>
        <title>Title</title>
        <link rel="stylesheet" href="/css/main.css">
    </head>
    <body>
        <main>
            <h1>Heading!</h1>
        </main>
    </body>
<html>
*/
@@ -49,27 +49,16 @@
   title(
-).withText(
 %22Title%22)
@@ -186,19 +186,8 @@
  h1(
-).withText(
 %22Hea
@@ -446,8 +446,9 @@
 html%3E%0A*/
+%0A

Update BasicExample.java