fix(latex): double-backlash prefixed to @start statements

Ref: https://lists.gnu.org/archive/html/emacs-orgmode/2025-09/msg00066.html
This commit is contained in:
timhansinger 2025-11-05 03:43:53 +01:00 committed by GitHub
parent f9664ae058
commit b22a3a6d7a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,7 +8,7 @@ This function is called by `org-babel-execute-src-block'."
;; REVIEW Refactor me
(let* ((body (replace-regexp-in-string
"^[[:blank:]\n]*\\(@start\\)"
"\\\\\\1"
"\\1"
body))
(fullbody (org-babel-plantuml-make-body body params))
(out-file (or (cdr (assq :file params))