mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
Address comment. Thanks Junyi
This commit is contained in:
@@ -339,8 +339,9 @@
|
||||
[block value]
|
||||
(if (and (state/enable-timetracking?)
|
||||
(not= (:block/content block) value))
|
||||
(let [new-marker (last (util/safe-re-find (marker/marker-pattern) (or value "")))
|
||||
new-value (with-marker-time value block (:block/format block)
|
||||
(let [format (:block/format block)
|
||||
new-marker (last (util/safe-re-find (marker/marker-pattern format) (or value "")))
|
||||
new-value (with-marker-time value block format
|
||||
new-marker
|
||||
(:block/marker block))]
|
||||
new-value)
|
||||
|
||||
Reference in New Issue
Block a user