diff options
| author | nsfisis <nsfisis@gmail.com> | 2023-03-10 02:31:50 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2023-03-10 02:32:34 +0900 |
| commit | 270b15e7f5cc6f3f15cced12d332d17fe5a80205 (patch) | |
| tree | 64e32e48dd90bd944d374883c4e5ce8d2f5d8e71 /nuldoc-src/docbook/to_html.ts | |
| parent | 21cf71f392dc6489bbd0a817ced98384cb79483d (diff) | |
| download | blog.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.ts | 1 |
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); |
