fix: wrong logbook creation

This commit is contained in:
llcc
2022-02-25 09:20:08 +08:00
parent 30785c6a87
commit 0cf1e7adcc

View File

@@ -339,7 +339,7 @@
[block value]
(if (and (state/enable-timetracking?)
(not= (:block/content block) value))
(let [new-marker (first (util/safe-re-find marker/bare-marker-pattern (or value "")))
(let [new-marker (first (util/safe-re-find marker/marker-pattern (or value "")))
new-value (with-marker-time value block (:block/format block)
new-marker
(:block/marker block))]