fix: illegal regex

pull/3092/head
rcmerci 2021-11-08 16:26:01 +08:00 committed by Tienson Qin
parent 21ece5c586
commit 1d8b53cddc
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@
:markdown
(string/replace title #"^#+\s+" "")
:org
(string/replace title #"^*+\s+" "")
(string/replace title #"^\*+\s+" "")
title)
ast (mldoc/->edn title (mldoc/default-config format))]
(block/markup-element-cp {} (ffirst ast)))