emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] org-exp.el: html export does not close footnote paragraph


From: Carsten Dominik
Subject: Re: [Orgmode] org-exp.el: html export does not close footnote paragraph tag
Date: Mon, 19 May 2008 14:25:27 +0200

Applied, thanks.

- Carsten

On May 19, 2008, at 12:52 PM, Madhu wrote:

 [No need to forward to list if acted on]

Helu, the new nxml mode complained that footnotes in exported org
files don't have their paragraphs closed: Perhaps something like the
following would fix it?  --Madhu

diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index 814515f..6f8d6b0 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -2924,7 +2924,8 @@ lang=\"%s\" xml:lang=\"%s\">
                (org-close-par-maybe)
                (let ((n (match-string 1 line)))
                  (setq line (replace-match
- (format "<p class=\"footnote\"><sup><a class=\"footnum\" name=\"fn.%s\" href=\"#fnr.%s\">%s</a></sup>" n n n) t t line))))) + (format "<p class=\"footnote\"><sup><a class=\"footnum\" name=\"fn.%s\" href=\"#fnr.%s\">%s</a></sup>" n n n) t t line))
+                 (setq line (concat line "\n</p>")))))

            ;; Check if the line break needs to be conserved
            (cond


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]