remove redundant ! on property-related funcs & add some tests

enter the commit message for your changes. Lines starting
This commit is contained in:
rcmerci
2021-05-14 16:10:27 +08:00
committed by Tienson Qin
parent 4414aa773a
commit a7a9f649c2
9 changed files with 73 additions and 45 deletions

View File

@@ -412,7 +412,7 @@
(drop-while #(= ["Break_Line"] %)))]
(recur headings (conj block-body ["Paragraph" other-body]) (rest blocks) timestamps' properties last-pos last-level children))
(property/properties-block? block)
(property/properties-ast? block)
(let [properties (extract-properties block start_pos end_pos)]
(recur headings block-body (rest blocks) timestamps properties last-pos last-level children))