This commit is contained in:
2026-07-14 21:38:29 +02:00
parent 1d790c3d4a
commit 3ea48cd313
4 changed files with 14 additions and 0 deletions
+5
View File
@@ -311,6 +311,11 @@ print_html :: proc(token: ^Token) {
fmt.printf("<iframe src=\"%s\"></iframe>", url)
}
case TokenType.Script:
if url, ok := token.value.(string); ok {
fmt.printf("<script src=\"%s\"></script>", url)
}
case TokenType.BreakLine:
fmt.print("<br>\n")