aboutsummaryrefslogtreecommitdiffhomepage
path: root/nuldoc-src/renderers
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-06-18 23:35:49 +0900
committernsfisis <nsfisis@gmail.com>2023-06-18 23:35:49 +0900
commitca6f5bafe72ba2f9b8ccbd6fe055d20fe590bf26 (patch)
tree1ee41bb26e35b7f4d76a86fdd545d614419930c3 /nuldoc-src/renderers
parent6b7fc3b5e2dc62e689dac2e06df6bd4957dec954 (diff)
downloadblog.nsfisis.dev-ca6f5bafe72ba2f9b8ccbd6fe055d20fe590bf26.tar.gz
blog.nsfisis.dev-ca6f5bafe72ba2f9b8ccbd6fe055d20fe590bf26.tar.zst
blog.nsfisis.dev-ca6f5bafe72ba2f9b8ccbd6fe055d20fe590bf26.zip
feat(content): add icon to /about page
Diffstat (limited to 'nuldoc-src/renderers')
-rw-r--r--nuldoc-src/renderers/html.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuldoc-src/renderers/html.ts b/nuldoc-src/renderers/html.ts
index e4261a3..e8743c5 100644
--- a/nuldoc-src/renderers/html.ts
+++ b/nuldoc-src/renderers/html.ts
@@ -61,6 +61,8 @@ function getDtd(name: string): Dtd {
return { type: "block" };
case "html":
return { type: "block" };
+ case "img":
+ return { type: "block" };
case "li":
return { type: "block" };
case "link":
@@ -71,6 +73,8 @@ function getDtd(name: string): Dtd {
return { type: "block", auto_closing: true };
case "nav":
return { type: "block" };
+ case "noscript":
+ return { type: "block" };
case "ol":
return { type: "block" };
case "p":