🐛 Add correct is-text-node? predicate to text processing methods

This commit is contained in:
Andrey Antukh 2025-06-25 20:25:03 +02:00
parent 17bfed137c
commit 00390a1349

View File

@ -130,8 +130,8 @@
(defn is-text-node?
[node]
(and (string? (:text node))
(not= (:text node) "")))
(and (nil? (:type node))
(string? (:text node))))
(defn is-paragraph-set-node?
[node]