aboutsummaryrefslogtreecommitdiffhomepage
path: root/nuldoc-src/docbook
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/docbook
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/docbook')
-rw-r--r--nuldoc-src/docbook/to_html.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/nuldoc-src/docbook/to_html.ts b/nuldoc-src/docbook/to_html.ts
index 5b6dfa1..4add912 100644
--- a/nuldoc-src/docbook/to_html.ts
+++ b/nuldoc-src/docbook/to_html.ts
@@ -26,6 +26,7 @@ export default function toHtml(doc: Document): Document {
transformElementNames(doc, "literal", "code");
transformElementNames(doc, "orderedlist", "ol");
transformElementNames(doc, "para", "p");
+ transformElementNames(doc, "superscript", "sup");
transformAttributeNames(doc, "xml:id", "id");
transformAttributeNames(doc, "xl:href", "href");
transformSectionIdAttribute(doc);