forked from mirrors/org-mode
Protect target-like text in verbatim snippets during ASCII export
This commit is contained in:
parent
f9eb4ee98c
commit
be8d644680
|
@ -1,5 +1,8 @@
|
|||
2010-01-08 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-ascii.el (org-export-ascii-preprocess): Protect targets in
|
||||
verbatim code for ASCII export.
|
||||
|
||||
* org.el (org-update-statistics-cookies): Also see checkboxes in
|
||||
ordered lists.
|
||||
|
||||
|
|
|
@ -494,7 +494,8 @@ publishing directory."
|
|||
;; Remove target markers
|
||||
(goto-char (point-min))
|
||||
(while (re-search-forward "<<<?\\([^<>]*\\)>>>?\\([ \t]*\\)" nil t)
|
||||
(replace-match "\\1\\2")))
|
||||
(org-if-unprotected-at (match-beginning 1)
|
||||
(replace-match "\\1\\2"))))
|
||||
|
||||
(defun org-html-expand-for-ascii (line)
|
||||
"Handle quoted HTML for ASCII export."
|
||||
|
|
Loading…
Reference in New Issue