In buildtoc, fold multiple newlines just before output.
authorNicholas Clark <nick@ccl4.org>
Fri, 21 Jan 2011 14:33:46 +0000 (14:33 +0000)
committerNicholas Clark <nick@ccl4.org>
Fri, 21 Jan 2011 15:06:46 +0000 (15:06 +0000)
commitf20404e138c6252f1241ee38184e6052d0010e24
tree31167027b6d39c952ab7d5e759aba6c80c43fc8b
parentd871876a3fe2d172e69b4d1b9b24f5111de2df99
In buildtoc, fold multiple newlines just before output.

Previously output() tracked newlines, and ignored more than 2 in a row. That
used more code, and a "global" variable for state.
pod/buildtoc