Checkboxes are limited to 5 per line. Previously, a newline was inserted even if (= (% (+1 i) 5) 0) regardness of whether there were more checkboxes to insert. This PR checks whether the current checkbox is the final checkbox, and only inserts a newline if it is not.
Checkboxes are limited to 5 per line. Previously, a newline was inserted even if
(= (% (+1 i) 5) 0)
regardness of whether there were more checkboxes to insert. This PR checks whether the current checkbox is the final checkbox, and only inserts a newline if it is not.