Commit a7a6e904 authored by Roy Grönroos's avatar Roy Grönroos
Browse files

Merge branch 'html-fail' into 'main'

Fix SiteGen html formatting

See merge request !1
parents b1417e49 154b1571
Pipeline #45022 passed with stages
in 27 seconds
...@@ -18,7 +18,7 @@ class SiteGen { ...@@ -18,7 +18,7 @@ class SiteGen {
"<h1>" + siteTitle + "</h1>" + "<h1>" + siteTitle + "</h1>" +
"<ul>" + movieList.stream().map(i -> "<li>"+ i + "</li>").collect(Collectors.joining()) + "</ul>" + "<ul>" + movieList.stream().map(i -> "<li>"+ i + "</li>").collect(Collectors.joining()) + "</ul>" +
"</body>" + "</body>" +
"<html>"; "</html>";
public static void main(String args[]) throws Exception { public static void main(String args[]) throws Exception {
Files.createDirectory(Paths.get("public/")); Files.createDirectory(Paths.get("public/"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment