ox: Fix smart quote detection

* lisp/ox.el (org-export-smart-quotes-regexps): Fix smart quote
  detection when it is followed by an open parenthesis syntax class.
This commit is contained in:
Nicolas Goaziou 2013-12-26 12:35:59 +01:00
parent fc3857b310
commit 4ee7e60405
1 changed files with 1 additions and 1 deletions

View File

@ -4955,7 +4955,7 @@ If no translation is found, the quote character is left as-is.")
(defconst org-export-smart-quotes-regexps
(list
;; Possible opening quote at beginning of string.
"\\`\\([\"']\\)\\(\\w\\|\\s.\\|\\s_\\)"
"\\`\\([\"']\\)\\(\\w\\|\\s.\\|\\s_\\|\\s(\\)"
;; Possible closing quote at beginning of string.
"\\`\\([\"']\\)\\(\\s-\\|\\s)\\|\\s.\\)"
;; Possible apostrophe at beginning of string.