create html part 19
All checks were successful
ci / build (push) Successful in 1m7s

This commit is contained in:
Christopher Hase 2025-03-27 15:46:50 +01:00
parent d3b5d8a5bb
commit 6d05c66a5c

View file

@ -134,8 +134,8 @@ function render(node: Node): string {
case "Hexagram":
//outputHTML = "<p><i>" + node.value + "</i></p>";
node.value = node.value?.replace("</h1>", "</h1><b><i>"); //TODO: OK??
outputHTML = "<p>" + node.value + "</i></b></p>"; //TODO: OK??
node.value = node.value?.replace("</h1>", "</h1>"); //TODO: OK??
outputHTML = "<p style=\"font-size: 20px;\">" + node.value + "</p>"; //TODO: OK??
outputHTML = outputHTML + render(node.child!);