Browse Source

Merge branch 'maint'

Nicolas Goaziou 7 năm trước cách đây
mục cha
commit
e5396c189a
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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))