mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 19:37:52 +00:00
Handle timestamps after handling links
* org-html.el (org-export-as-html): Handle timestamps after handling links. otherwise a link description with an ISO date is handled as an inactive timestamp and replaced by a timestamp span. Bug reported by Vincent Belaïche.
This commit is contained in:
parent
b41a340e9e
commit
163cd58ffd
|
@ -1308,8 +1308,6 @@ lang=\"%s\" xml:lang=\"%s\">
|
|||
"@</a> ")
|
||||
t t line)))))
|
||||
|
||||
(setq line (org-html-handle-time-stamps line))
|
||||
|
||||
;; replace "&" by "&", "<" and ">" by "<" and ">"
|
||||
;; handle @<..> HTML tags (replace "@>..<" by "<..>")
|
||||
;; Also handle sub_superscripts and checkboxes
|
||||
|
@ -1474,6 +1472,8 @@ lang=\"%s\" xml:lang=\"%s\">
|
|||
(setq line (replace-match rpl t t line)
|
||||
start (+ start (length rpl))))
|
||||
|
||||
(setq line (org-html-handle-time-stamps line))
|
||||
|
||||
;; TODO items
|
||||
(if (and (string-match org-todo-line-regexp line)
|
||||
(match-beginning 2))
|
||||
|
|
Loading…
Reference in a new issue