aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--nuldoc-src/docbook/to_html.ts1
-rw-r--r--nuldoc-src/renderers/html.ts2
2 files changed, 3 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);
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":