Merge branch 'bugfix'

This commit is contained in:
Ihor Radchenko 2022-12-08 14:38:47 +03:00
commit 697aa627ac
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 7 additions and 7 deletions

View File

@ -2131,13 +2131,13 @@ information."
(let ((environment (or (org-export-read-attribute (let ((environment (or (org-export-read-attribute
:attr_latex example-block :environment) :attr_latex example-block :environment)
"verbatim"))) "verbatim")))
(org-latex--wrap-label (format "\\begin{%s}%s\n%s\\end{%s}"
example-block
(format "\\begin{%s}\n%s\\end{%s}"
environment environment
(if (org-element-property :name example-block)
(org-latex--label example-block info nil 'full)
"")
(org-export-format-code-default example-block info) (org-export-format-code-default example-block info)
environment) environment))))
info))))
;;;; Export Block ;;;; Export Block