lang/plantuml: fix regexp in plantuml--fix-atstart-in-org-src-blocks-a (#1760)

* Fix a regexp bug
* [:blank:] never match '\n', so add '\n' to regexp
This commit is contained in:
Sunn Yao 2019-09-08 00:16:08 +08:00 committed by Henrik Lissner
parent b6b2d74f25
commit e1d1d148c1

View File

@ -30,7 +30,7 @@
(let* ((origin-body body)
(fix-body
(replace-regexp-in-string
"^\\w*\\(@start\\)"
"^[[:blank:]\n]*\\(@start\\)"
"\\\\\\1"
origin-body)))
(list fix-body params))))