lisp/ox-html.el: Minimal encoding for code and verbatim text

* lisp/ox-html.el: Remove fancy string replacements for code and
verbatim text when exporting to html.

Exporting =--option= or ~--option~ to html used to replace -- with a
ndash.

TINYCHANGE
This commit is contained in:
Aurélien Aptel 2013-06-06 20:55:33 +02:00 committed by Nicolas Goaziou
parent 84de2396c3
commit 56b864b265
1 changed files with 2 additions and 2 deletions

View File

@ -1988,7 +1988,7 @@ channel."
CONTENTS is nil. INFO is a plist holding contextual
information."
(format (or (cdr (assq 'code org-html-text-markup-alist)) "%s")
(org-html-plain-text (org-element-property :value code) info)))
(org-html-encode-plain-text (org-element-property :value code))))
;;;; Drawer
@ -3096,7 +3096,7 @@ holding contextual information."
CONTENTS is nil. INFO is a plist holding contextual
information."
(format (or (cdr (assq 'verbatim org-html-text-markup-alist)) "%s")
(org-html-plain-text (org-element-property :value verbatim) info)))
(org-html-encode-plain-text (org-element-property :value verbatim))))
;;;; Verse Block