View Single Post
Old 07-22-2008, 02:16 PM   #8
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by kovidgoyal View Post
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.
llasram is offline   Reply With Quote