Quote:
Originally Posted by kovidgoyal
Actually if you dont care about pretty printing it should be possible to even preserve whitespace.
|
Oh, I meant in the rendered markup, if there was something like:
Code:
<div class="book">
...
<div class="chapter">
<h1>Chapter N</h1>
</div>
...
</div>
And the markup-creator had chosen to style .book with a margin-top in order to create leading whitespace. Duplicating the /book/chapter structure in each file would cause each chapter to begin with the .book margin-top amount of margin.
But that seems like a fairly rare circumstance.