aboutsummaryrefslogtreecommitdiffstats
path: root/lib/html.server.moon
diff options
context:
space:
mode:
Diffstat (limited to 'lib/html.server.moon')
-rw-r--r--lib/html.server.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/html.server.moon b/lib/html.server.moon
index 565867c..335e193 100644
--- a/lib/html.server.moon
+++ b/lib/html.server.moon
@@ -33,7 +33,7 @@ add = (e) -> elements[e] = element e
for e in *{'div', 'form', 'span', 'a', 'p', 'button', 'ul', 'ol', 'li', 'i', 'b', 'u', 'tt'} do add e
for e in *{'article', 'section', 'header', 'footer', 'content', 'pre'} do add e
-for e in *{'br', 'hr', 'img', 'input', 'p', 'textarea'} do add e
+for e in *{'br', 'hr', 'img', 'input', 'p', 'canvas', 'textarea', 'script'} do add e
for i=1,8 do add "h" .. i
elements