|
|
@@ -2921,8 +2921,7 @@
|
|
|
|
|
|
:else
|
|
|
;; from external
|
|
|
- (let [format (or (db/get-page-format (state/get-current-page)) :markdown)
|
|
|
- text (string/trim text)]
|
|
|
+ (let [format (or (db/get-page-format (state/get-current-page)) :markdown)]
|
|
|
(match [format
|
|
|
(nil? (util/safe-re-find #"(?m)^\s*(?:[-+*]|#+)\s+" text))
|
|
|
(nil? (util/safe-re-find #"(?m)^\s*\*+\s+" text))
|