ox-odt: Allow to turn smart quotes off

* lisp/ox-odt.el (org-odt-plain-text): Allow to turn smart quotes off.

Patch suggested by Georg Lehner.
This commit is contained in:
Nicolas Goaziou 2013-06-25 08:35:25 +02:00
parent b4fb00a21a
commit b4f90c687d
1 changed files with 2 additions and 1 deletions

View File

@ -2966,7 +2966,8 @@ contextual information."
(setq output (org-odt--encode-plain-text output t))
;; Handle smart quotes. Be sure to provide original string since
;; OUTPUT may have been modified.
(setq output (org-export-activate-smart-quotes output :utf-8 info text))
(when (plist-get info :with-smart-quotes)
(setq output (org-export-activate-smart-quotes output :utf-8 info text)))
;; Convert special strings.
(when (plist-get info :with-special-strings)
(mapc