Merge branch 'bugfix'

This commit is contained in:
Ihor Radchenko 2022-12-08 15:45:46 +03:00
commit 49cf3e3a7c
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")))
(format "\\begin{%s}%s\n%s\\end{%s}" (org-latex--wrap-label
environment example-block
(if (org-element-property :name example-block) (format "\\begin{%s}\n%s\\end{%s}"
(org-latex--label example-block info nil 'full) environment
"") (org-export-format-code-default example-block info)
(org-export-format-code-default example-block info) environment)
environment)))) info))))
;;;; Export Block ;;;; Export Block