diff options
Diffstat (limited to 'nuldoc-src/renderers')
| -rw-r--r-- | nuldoc-src/renderers/html.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nuldoc-src/renderers/html.ts b/nuldoc-src/renderers/html.ts index 94d134b..6cf632c 100644 --- a/nuldoc-src/renderers/html.ts +++ b/nuldoc-src/renderers/html.ts @@ -29,6 +29,10 @@ function getDtd(name: string): Dtd { return { type: "block" }; case "br": return { type: "block", auto_closing: true }; + case "button": + return { type: "block" }; + case "canvas": + return { type: "block" }; case "code": return { type: "inline" }; case "div": @@ -73,6 +77,8 @@ function getDtd(name: string): Dtd { return { type: "block" }; case "pre": return { type: "block" }; + case "script": + return { type: "block" }; case "section": return { type: "block" }; case "span": |
