On Monday, May 7, 2012 6:13:28 AM UTC-7, dinkyp...@gmail.com wrote:
>
> Below is a test script that shows one way I've dealt with this issue in the
> past by reformatting paragraphs to remove embedded line breaks. YMMV.
>
> import re, textile
> ...
Wow. Thank you. This works. I'm trying to fig
On Friday, 4 May 2012 04:39:47 UTC+1, Josh English wrote:
> However, when I convert my multiple-paragraph text object with textile, my
> original line breaks are preserved. Since I'm going to HTML, I d'nt want my
> line breaks preserved.
I think any Textile implementation will preserve line bre
I am working with an XML database and have large chunks of text in certain
child and grandchildren nodes.
Because I consider well-formed XML to wrap at 70 characters and indent
children, I end up with a lot of extra white space in the node.text string. (I
parse with ElementTree.)
I thought abo