]> ocean-lang.org Git - ocean/commit
mdcode: don't include blank lines at end of section.
authorNeilBrown <neil@brown.name>
Sun, 5 May 2019 01:51:08 +0000 (11:51 +1000)
committerNeilBrown <neil@brown.name>
Sun, 5 May 2019 01:51:08 +0000 (11:51 +1000)
commitb757d6738f6ec0a1889e4f07dd49c1e1fd22092d
treeaa099e6b0ebe07c765a9bd067b9cf61f78146edd
parent9d5ec7afa939dcea026eb7a888ab7a92f509fd8c
mdcode: don't include blank lines at end of section.

completely blank lines (no indent) at the end of a section
should not be considered part of that section, but rather
separation between this and the next section.
So don't include them in the code.

When a section is used, for example, as sample output to
test against actual output in a test suit, having the
stray blank at the end can be problematic.

Signed-off-by: NeilBrown <neil@brown.name>
csrc/mdcode.mdc