Merge branch 'master' into feat/db

This commit is contained in:
Tienson Qin
2023-12-23 14:18:25 +08:00
82 changed files with 2056 additions and 1031 deletions

View File

@@ -159,14 +159,14 @@
nil)))]
(if (string/blank? result) nil result))
text-blocks? (if (= format :markdown) markdown-blocks? org-blocks?)
blocks? (text-blocks? text)
text' (or html-text
(when (gp-util/url? text)
(wrap-macro-url text))
text)]
text)
blocks? (text-blocks? text')]
(cond
blocks?
(paste-text-parseable format text)
(paste-text-parseable format text')
(util/safe-re-find #"(?:\r?\n){2,}" text')
(paste-segmented-text format text')