enhance(org): replace string match with regex pattern

pull/2698/head
Tienson Qin 2021-08-23 12:12:56 +08:00
parent 76fbeb87de
commit c855342bbd
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@
content (reduce (fn [content key]
(remove-property format key content)) content built-in-properties*)]
(if (= format :org)
(string/replace-first content ":PROPERTIES:\n:END:\n" "")
(string/replace-first content (re-pattern ":PROPERTIES:\n:END:\n*") "")
content)))
(defn ->new-properties