fix: regex

pull/706/head
Tienson Qin 2020-11-19 15:59:38 +08:00
parent b3df6ce33c
commit 9366bc7d5f
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@
(not= \* (last s)))
(->elem :a {:href (str "#" (anchor-link (subs s 1)))} (map-inline config label))
(re-find #"^(?i)http[s]?://" s)
(re-find #"(?i)^http[s]?://" s)
(->elem :a {:href s}
(map-inline config label))