diff options
Diffstat (limited to 'src/guile')
-rw-r--r-- | src/guile/skribilo/engine/html.scm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/guile/skribilo/engine/html.scm b/src/guile/skribilo/engine/html.scm index 9f21d2c..a48745e 100644 --- a/src/guile/skribilo/engine/html.scm +++ b/src/guile/skribilo/engine/html.scm @@ -943,14 +943,15 @@ (let loop ((fns footnotes)) (if (pair? fns) (let ((fn (car fns))) - (format #t "<a name=\"footnote-~a\">" + ;; Note: the <a> tags must not be nested. + (format #t "<a name=\"footnote-~a\"></a>" (string-canonicalize (container-ident fn))) (format #t "<a href=\"#footnote-site-~a\">" (string-canonicalize (container-ident fn))) - (format #t "<sup><small>~a</small></sup></a></a> " - (markup-option fn :label)) + (format #t "<sup><small>~a</small></sup></a>" + (markup-option fn :label)) (output (markup-body fn) e) (display "\n<br>\n") (loop (cdr fns))))) |