mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 22:37:47 +00:00
Merge branch 'maint'
This commit is contained in:
commit
865ac0952b
|
@ -2679,8 +2679,10 @@ CONTENTS is nil. INFO is a plist holding contextual information."
|
||||||
"Transcode an INLINE-SRC-BLOCK element from Org to HTML.
|
"Transcode an INLINE-SRC-BLOCK element from Org to HTML.
|
||||||
CONTENTS holds the contents of the item. INFO is a plist holding
|
CONTENTS holds the contents of the item. INFO is a plist holding
|
||||||
contextual information."
|
contextual information."
|
||||||
(let ((lang (org-element-property :language inline-src-block))
|
(let* ((lang (org-element-property :language inline-src-block))
|
||||||
(code (org-element-property :value inline-src-block))
|
(code (org-html-fontify-code
|
||||||
|
(org-element-property :value inline-src-block)
|
||||||
|
lang))
|
||||||
(label
|
(label
|
||||||
(let ((lbl (and (org-element-property :name inline-src-block)
|
(let ((lbl (and (org-element-property :name inline-src-block)
|
||||||
(org-export-get-reference inline-src-block info))))
|
(org-export-get-reference inline-src-block info))))
|
||||||
|
|
Loading…
Reference in a new issue