forked from mirrors/org-mode
org-e-latex: Correctly export statistics cookies with percents
* contrib/lisp/org-e-latex.el (org-e-latex-statistics-cookie): Protect percents in statistics cookies.
This commit is contained in:
parent
01bd28be69
commit
d02eedc987
|
@ -2124,7 +2124,8 @@ contextual information."
|
|||
(defun org-e-latex-statistics-cookie (statistics-cookie contents info)
|
||||
"Transcode a STATISTICS-COOKIE object from Org to LaTeX.
|
||||
CONTENTS is nil. INFO is a plist holding contextual information."
|
||||
(org-element-property :value statistics-cookie))
|
||||
(replace-regexp-in-string
|
||||
"%" "\\%" (org-element-property :value statistics-cookie) nil t))
|
||||
|
||||
|
||||
;;;; Strike-Through
|
||||
|
|
Loading…
Reference in New Issue