Commit 6b986b4
Yannick Scherer
fix handling of whitespace-only zippers. (fixes #20)
Since 'z/edn' is 'z/edn*' + moving to the first non-whitespace node,
handling whitespace-only cases is done by falling back to the latter
function's behaviour and having the zipper end up on the top-level
':forms' node.1 parent bf9604d commit 6b986b4
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments