>From bd096d2040d4ffaa517466ac85c4e0da08863bec Mon Sep 17 00:00:00 2001 From: Rasmus Date: Sun, 16 Mar 2014 00:54:11 +0100 Subject: [PATCH 2/2] Proper HTML entities for dashes, dots in ox-html * ox-html.el (org-html-special-string-regexps): Use HTML entities. --- lisp/ox-html.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index cb95161..8e22df6 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -173,10 +173,10 @@ For blocks that should contain headlines, use the HTML_CONTAINER property on the headline itself.") (defconst org-html-special-string-regexps - '(("\\\\-" . "­") ; shy - ("---\\([^-]\\)" . "—\\1") ; mdash - ("--\\([^-]\\)" . "–\\1") ; ndash - ("\\.\\.\\." . "…")) ; hellip + '(("\\\\-" . "­") ; shy + ("---\\([^-]\\)" . "—\\1") ; mdash + ("--\\([^-]\\)" . "–\\1") ; ndash + ("\\.\\.\\." . "…")) ; hellip "Regular expressions for special string conversion.") (defconst org-html-scripts -- 1.9.0