Quote:
Originally Posted by dwanthny
|
And if it IS surround by <pre> tags, then your best bet would be to edit the .html file(s) within the .epub (open the .epub up with a zip archiver and edit/extract the .html files) and do the following:
1) at the end of each line within the <pre> tags append a <br /> tag (or two <br /><br /> based on your preference for blank line separation), and
2) replace the surrounding <pre> ... </pre> tags with <p> ... </p> instead.
That should make sure the lines don't run into each other, but still allow each long line to wrap around so that you can see the ending...
BTW, in
2) above, you can play with indents using <p style="text-intent: 2em"> ... </p> or hanging indents using <p style="text-intent: -2em; margin-left: 2em"> ... </p>.
Experimentation is your friend!