ox-texinfo: Do not sanitize sectioning titles

* lisp/ox-texinfo.el (org-texinfo-headline): Do not sanitize
  sectioning titles.
This commit is contained in:
Nicolas Goaziou 2014-08-11 15:46:21 +02:00
parent 2e98c7f43e
commit 0a18095984
1 changed files with 2 additions and 3 deletions

View File

@ -763,9 +763,8 @@ holding contextual information."
(priority (and (plist-get info :with-priority)
(org-element-property :priority headline)))
(text (org-export-data (org-element-property :title headline) info))
(full-text (org-texinfo--sanitize-content
(funcall (plist-get info :texinfo-format-headline-function)
todo todo-type priority text tags)))
(full-text (funcall (plist-get info :texinfo-format-headline-function)
todo todo-type priority text tags))
(pre-blanks
(make-string (org-element-property :pre-blank headline) ?\n)))
(cond