Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Dec 15, 2024
1 parent 202be5c commit 1a98dca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/frontend/db/query_dsl.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ Some bindings in this fn:
(let [match' (string/replace (second matches) "#" tag-placeholder)]
(str "\"" page-ref/left-brackets match' page-ref/right-brackets "\"")))]
(some-> s
(string/replace #"^(?!\")\[\[(.*?)\]\]" quoted-page-ref)
(string/replace #"\"?\[\[(.*?)\]\]\"?" quoted-page-ref)
(string/replace text-util/between-re
(fn [[_ x]]
(->> (string/split x #" ")
Expand Down

0 comments on commit 1a98dca

Please sign in to comment.