From bd14cdce80a610a5eadbf563ac12472fbed542a5 Mon Sep 17 00:00:00 2001 From: Thomas Morgan Date: Mon, 13 May 2013 11:06:52 +0200 Subject: [PATCH] Convert dashes in HTML export even when at end of string. * lisp/ox-html.el (org-html-special-string-regexps): Convert dashes even when at end of string. --- lisp/ox-html.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index 54c6a45..f47e760 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -145,8 +145,8 @@ (defconst org-html-special-string-regexps '(("\\\\-" . "­") ; shy - ("---\\([^-]\\)" . "—\\1") ; mdash - ("--\\([^-]\\)" . "–\\1") ; ndash + ("---\\([^-]?\\)" . "—\\1") ; mdash + ("--\\([^-]?\\)" . "–\\1") ; ndash ("\\.\\.\\." . "…")) ; hellip "Regular expressions for special string conversion.") -- 1.7.9.5