diff options
author | Bastien Guerry <bzg@altern.org> | 2013-02-07 09:48:52 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2013-02-07 09:48:52 +0100 |
commit | b6eceef02a24787a2aa7b70492796caf296ae4d1 (patch) | |
tree | b68e3ee48714ae5186eac649242960053dc2b80b | |
parent | 3b3ffd54337c2c829cd7813bf0f62aa844c1c35d (diff) | |
download | org-mode-b6eceef02a24787a2aa7b70492796caf296ae4d1.tar.gz |
org-html.el (org-export-html-special-string-regexps): Reintroduce
* org-html.el (org-export-html-special-string-regexps):
Reintroduce.
Thanks to Samuel Wales for reporting this.
-rw-r--r-- | contrib/lisp/org-html.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/lisp/org-html.el b/contrib/lisp/org-html.el index 58de1c7..26782d9 100644 --- a/contrib/lisp/org-html.el +++ b/contrib/lisp/org-html.el @@ -2463,6 +2463,13 @@ is nil, return nil." (setq start (+ start (length wd)))))))) s) +(defconst org-export-html-special-string-regexps + '(("\\\\-" . "­") + ("---\\([^-]\\)" . "—\\1") + ("--\\([^-]\\)" . "–\\1") + ("\\.\\.\\." . "…")) + "Regular expressions for special string conversion.") + (defun org-export-html-convert-special-strings (string) "Convert special characters in STRING to HTML." (let ((all org-export-html-special-string-regexps) |