diff options
| -rw-r--r-- | vhosts/blog/nuldoc-src/djot/to_html.ts | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/vhosts/blog/nuldoc-src/djot/to_html.ts b/vhosts/blog/nuldoc-src/djot/to_html.ts index e2d6a9b6..c765cb07 100644 --- a/vhosts/blog/nuldoc-src/djot/to_html.ts +++ b/vhosts/blog/nuldoc-src/djot/to_html.ts @@ -20,7 +20,6 @@ export default async function toHtml(doc: Document): Promise<Document> { transformSectionTitleElement(doc); transformNoteElement(doc); addAttributesToExternalLinkElement(doc); - setDefaultLangAttribute(doc); traverseFootnotes(doc); removeUnnecessaryParagraphNode(doc); await transformAndHighlightCodeBlockElement(doc); @@ -242,13 +241,6 @@ function addAttributesToExternalLinkElement(doc: Document) { }); } -function setDefaultLangAttribute(_doc: Document) { - // TODO - // if (!e.attributes.has("lang")) { - // e.attributes.set("lang", "ja-JP"); - // } -} - function traverseFootnotes(doc: Document) { let footnoteCounter = 0; const footnoteMap = new Map<string, number>(); |
