Merge branch 'master' into feat/db

This commit is contained in:
charlie
2024-06-26 10:02:41 +08:00
11 changed files with 39 additions and 13 deletions

View File

@@ -51,7 +51,7 @@
(boolean (text-util/get-matched-video url))
(util/format "{{video %s}}" url)
(string/includes? url "twitter.com")
(or (string/includes? url "twitter.com") (string/includes? url "x.com"))
(util/format "{{twitter %s}}" url)))
(defn- try-parse-as-json