Nicolas Goaziou преди 7 години
родител
ревизия
e5396c189a
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      lisp/ox-texinfo.el

+ 2 - 1
lisp/ox-texinfo.el

@@ -990,7 +990,8 @@ contextual information."
   "Transcode a KEYWORD element from Org to Texinfo.
 CONTENTS is nil.  INFO is a plist holding contextual information."
   (let ((key (org-element-property :key keyword))
-	(value (org-element-property :value keyword)))
+	(value (org-texinfo--sanitize-content
+		(org-element-property :value keyword))))
     (cond
      ((string= key "TEXINFO") value)
      ((string= key "CINDEX") (format "@cindex %s" value))