View Single Post
Old 05-25-2010, 07:05 PM   #5
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,428
Karma: 950001
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
newlines are replaced with space when generating TXT output... I will look into why this is happening. And I will need a sample because I cannot recreate this behavior.

The basic idea behind text output is take the XHTML, and replace all newlines with spaces. Then start reading though the XHTML string that is all one line pulling out text and adding newlines based on tags that represent paragraph breaks.
user_none is offline   Reply With Quote