diff options
| author | Asko Nomm <asko@bien.ee> | 2022-04-06 16:23:14 +0200 |
|---|---|---|
| committer | Asko Nomm <asko@bien.ee> | 2022-04-06 16:23:14 +0200 |
| commit | cf7f5232f9e31981626135eb0977192ea5e67918 (patch) | |
| tree | ed5f46330b8d3aba398e9b3fa659ec85ae89b24b /src/clarktown/parsers/list_block.clj | |
| parent | 5026f57b750bb5919c49c0fbae073f7bab02bd42 (diff) | |
Fix indents
Diffstat (limited to 'src/clarktown/parsers/list_block.clj')
| -rw-r--r-- | src/clarktown/parsers/list_block.clj | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/clarktown/parsers/list_block.clj b/src/clarktown/parsers/list_block.clj index 3f32067..40087af 100644 --- a/src/clarktown/parsers/list_block.clj +++ b/src/clarktown/parsers/list_block.clj @@ -37,12 +37,12 @@ [items index] (let [indent-n-at-index (:indent-n (nth items index))] (-> (->> (split-at index items) - first - reverse - (remove #(or (> (:indent-n %) indent-n-at-index) - (= (:indent-n %) indent-n-at-index))) - first - :id)))) + first + reverse + (remove #(or (> (:indent-n %) indent-n-at-index) + (= (:indent-n %) indent-n-at-index))) + first + :id)))) (defn compose-items-with-parents |
