Quote:
Originally Posted by davidfor
It works, but, for the replace_br_with_p to work, it needs the paragraph tag that wraps the text removed. The conversion to string and then the substring was because I couldn't work out a way to get BeautifulSoup to give me the contents of the paragraph as a BeautifulSoup object that utf8FromSoup would work on.
|
Can you provide a story URL and what you think is wrong?
I tested both with and without replace_br_with_p and both looked fine to me.