File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 1111 (with-current-buffer " *Org HTML Export*" (buffer-string ))))
1212 (org-html-markdown-style-footnotes-remove))
1313
14+ (ert-deftest labeled-footnote-test ()
15+ (org-html-markdown-style-footnotes-add)
16+ (find-file " test/fixtures/labeled-footnote.org" )
17+ (let ((org-html-markdown-style-footnotes t ))
18+ (org-html-export-as-html ))
19+ (should (string-match-p
20+ " <ol>\n <li id=\" fn.labeled\" class=\" footdef\" role=\" doc-footnote\" tabindex=\" -\" ><p class=\" footpara\" >\n A footnote.\n </p>\n\n <p class=\" footpara\" >\n With a second paragraph.\n </p> <a href=\" #fnr.labeled\" role=\" doc-backlink\" >↩︎</a></li>\n </ol>"
21+ (with-current-buffer " *Org HTML Export*" (buffer-string ))))
22+ (org-html-markdown-style-footnotes-remove))
23+
1424(ert-deftest disabled-test ()
1525 (org-html-markdown-style-footnotes-add)
1626 (find-file " test/fixtures/footnote.org" )
You can’t perform that action at this time.
0 commit comments