View Single Post
Old 12-17-2013, 09:30 PM   #2273
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,038
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by davidfor View Post
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.
JimmXinu is offline