aboutsummaryrefslogtreecommitdiffhomepage
path: root/nuldoc-src/renderers
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-04-01 20:03:16 +0900
committernsfisis <nsfisis@gmail.com>2023-04-01 20:03:16 +0900
commitbc93fa20d44baf31a11e222e567d994d6ae19858 (patch)
tree39e1beed0a2b34494aa26257fa3298f28f0369d2 /nuldoc-src/renderers
parent45a3b3d41e3637f49b5bb200de66aebd0d5f0a2f (diff)
downloadblog.nsfisis.dev-bc93fa20d44baf31a11e222e567d994d6ae19858.tar.gz
blog.nsfisis.dev-bc93fa20d44baf31a11e222e567d994d6ae19858.tar.zst
blog.nsfisis.dev-bc93fa20d44baf31a11e222e567d994d6ae19858.zip
feat(nuldoc): support <sup> tag
Diffstat (limited to 'nuldoc-src/renderers')
-rw-r--r--nuldoc-src/renderers/html.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/nuldoc-src/renderers/html.ts b/nuldoc-src/renderers/html.ts
index 6cf632c..e4261a3 100644
--- a/nuldoc-src/renderers/html.ts
+++ b/nuldoc-src/renderers/html.ts
@@ -83,6 +83,8 @@ function getDtd(name: string): Dtd {
return { type: "block" };
case "span":
return { type: "inline" };
+ case "sup":
+ return { type: "inline" };
case "table":
return { type: "block" };
case "tbody":