Explorar o código

Merge branch 'maint'

Nicolas Goaziou %!s(int64=7) %!d(string=hai) anos
pai
achega
e5396c189a
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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))