Fabrice Popineau <[email protected]> writes:
> My small patch worked only for labels with colon.
> With more extensive testing, I can propose this one against maint :
Thank you
> diff --git a/vendor/org-mode/lisp/ox-beamer.el
> b/vendor/org-mode/lisp/ox-beamer.el
> index 73d8a76..ee4f0d7 100644
> --- a/vendor/org-mode/lisp/ox-beamer.el
> +++ b/vendor/org-mode/lisp/ox-beamer.el
> @@ -335,11 +335,11 @@ property, or a fallback value built from headline's
> number. This
> function assumes HEADLINE will be treated as a frame."
> (let ((opt (org-element-property :BEAMER_OPT headline)))
> (if (and (stringp opt)
> - (string-match "\\(?:^\\|,\\)label=\\(.*?\\)\\(?:$\\|,\\)" opt))
> + (string-match "\\(?:^\\|,\\)label={?\\(.*?\\)}?\\(?:$\\|,\\)"
It would remove un-balanced curly brackets, which may or may not be
a good idea.
I took the liberty to apply a patch based off yours on maint. Hopefully,
the issue should be solved.
Regards,