File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3737 (mapconcat
3838 (lambda (definition )
3939 (pcase definition
40- (`(, n , _ , def )
40+ (`(, n , label , def )
4141 (format
4242 " <li id=\" fn.%d\" class=\" footdef\" role=\" doc-footnote\" tabindex=\" -1\" >%s %s</li>\n "
43- n
43+ ( or label n)
4444 (org-trim (org-export-data def info))
45- (format " <a href=\" #fnr.%d \" role=\" doc-backlink\" >↩︎</a> " n )))))
45+ (format " <a href=\" #fnr.%d \" role=\" doc-backlink\" >↩︎</a> " ( or label n) )))))
4646 definitions
4747 " \n " )))))
4848 (funcall orig-fun info)))
Original file line number Diff line number Diff line change @@ -246,12 +246,12 @@ The updated copy is defined as ~org-html-markdown-style-footnotes--section~:
246246 (mapconcat
247247 (lambda (definition)
248248 (pcase definition
249- (`(,n ,_ ,def)
249+ (`(,n ,label ,def)
250250 (format
251251 "<li id=\"fn.%d\" class=\"footdef\" role=\"doc-footnote\" tabindex=\"-1\">%s %s</li>\n"
252- n
252+ (or label n)
253253 (org-trim (org-export-data def info))
254- (format "<a href=\"#fnr.%d\" role=\"doc-backlink\">↩︎</a>" n )))))
254+ (format "<a href=\"#fnr.%d\" role=\"doc-backlink\">↩︎</a>" (or label n) )))))
255255 definitions
256256 "\n")))))
257257 (funcall orig-fun info)))
You can’t perform that action at this time.
0 commit comments