mirror of
https://github.com/logseq/logseq.git
synced 2026-05-28 22:49:53 +00:00
fix: handle end-idx check in inline macro parsing
This commit is contained in:
@@ -375,7 +375,9 @@
|
||||
(= \` c)
|
||||
(let [run-length (backtick-run-length source idx)
|
||||
end-idx (matching-backtick-index source idx run-length)]
|
||||
(recur (+ idx run-length) end-idx))
|
||||
(if end-idx
|
||||
(recur (+ idx run-length) end-idx)
|
||||
true))
|
||||
|
||||
(and (= \| c)
|
||||
(some? code-end))
|
||||
|
||||
Reference in New Issue
Block a user