View Single Post
Old 05-30-2010, 11:38 AM   #4
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by Balorn
I got this in the html file in the debug\input folder:
Code:
<p>This                      test.</p>
<p>is                 a</p>
<p>a            is</p>
<p>test. This</p>
This is actually a bug. The proper output should be:

Code:
<p>This test.</p>
<p>is a</p>
<p>a is</p>
<p>test. This</p>
This is because it is converting to HTML internally and those extra white spaces will be condensed into one when rendering.

Adding an option to maintain white space exactly is possible but I don't see much point to it because it defeats the purpose of creating a reflowable document.
user_none is offline   Reply With Quote