Quote:
Originally Posted by DaleDe
Generally PalmDOC files (the ones you process) are expected to be wrapped by the reader and only contain returns at paragraph boundaries thus there is no line end. Why would you want line endings?
|
I misspoke, I said 'Line endings' but meant 'paragraph boundaries'.
I'm looking to 'convert' .pdb text to .html code very simplicatically i.e.
Code:
Chapter One\nThe Sky was...\n
to become
Code:
<html><body><p>Chapter One</p>\n<p>The Sky was...</p>\n<p></p></body></html>
What I'm getting is:
Code:
<html><body><p>Chapter One The Sky was... </p></body></html>
The '\n' gets converted to a space BEFORE I'm able to replace it with </p>\n<p> somewhere in the bowels of 'Mobiperl'.
-Nick