Quote:
Originally Posted by Amalthia
That is the problem with some of these stories there is no code at the start of the paragraph.
for example the author would have:
I don't think the "replace_br_with_p: true" option can fix this.
|
I agree with theducks, that's bad. It would be interesting to know what the original source looked like. As it might be something they can fix in the FFDL adapter for the site, I would report it on the FFDL thread with a link to a story or two that has the problem.
Or you can fix the code yourself. The following regex should find them these problems:
Code:
(<p>\*.*)</P>(\s+)(\w+.*)(\s+<p>)
and the replace string is:
Code:
\1</p>\2<p>\3</p>\4
I tested that with what you posted and it should work if they are all like that.