Closed benw closed 11 years ago
Input:
foo<br>bar
Current output:
foo bar
Preferred output:
foo<sp><sp> bar
i.e. append two spaces to foo, to keep the same formatting as the <br>.
<br>
Seems to be caused by optwrap. textwrap.wrap tosses the trailing spaces and then optwrap breaks the line up into paragraphs.
Input:
Current output:
Preferred output:
i.e. append two spaces to foo, to keep the same formatting as the
<br>
.