aboutsummaryrefslogtreecommitdiffhomepage
path: root/nuldoc-src/docbook/to_html.ts
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-03-10 02:31:50 +0900
committernsfisis <nsfisis@gmail.com>2023-03-10 02:32:34 +0900
commit270b15e7f5cc6f3f15cced12d332d17fe5a80205 (patch)
tree64e32e48dd90bd944d374883c4e5ce8d2f5d8e71 /nuldoc-src/docbook/to_html.ts
parent21cf71f392dc6489bbd0a817ced98384cb79483d (diff)
downloadblog.nsfisis.dev-270b15e7f5cc6f3f15cced12d332d17fe5a80205.tar.gz
blog.nsfisis.dev-270b15e7f5cc6f3f15cced12d332d17fe5a80205.tar.zst
blog.nsfisis.dev-270b15e7f5cc6f3f15cced12d332d17fe5a80205.zip
nuldoc: fix `a` link not working
Diffstat (limited to 'nuldoc-src/docbook/to_html.ts')
-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 31c419d..6788158 100644
--- a/nuldoc-src/docbook/to_html.ts
+++ b/nuldoc-src/docbook/to_html.ts
@@ -22,6 +22,7 @@ export default function toHtml(doc: Document): Document {
transformElementNames(doc, "orderedlist", "ol");
transformElementNames(doc, "simpara", "p");
transformAttributeNames(doc, "xml:id", "id");
+ transformAttributeNames(doc, "xl:href", "href");
transformSectionIdAttribute(doc);
setSectionTitleAnchor(doc);
transformSectionTitleElement(doc);