From a6212899531cbd2ed10907609550247d822bcad1 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 14 Jun 2017 21:27:02 +0200 Subject: [PATCH] ox-texinfo: Escape @ { } in index * lisp/ox-texinfo.el (org-texinfo-keyword): Escape @ { } in index. --- lisp/ox-texinfo.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ox-texinfo.el b/lisp/ox-texinfo.el index f7bc134a1..d69a3041c 100644 --- a/lisp/ox-texinfo.el +++ b/lisp/ox-texinfo.el @@ -969,7 +969,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)) -- 2.11.4.GIT