View Single Post
Old 12-30-2014, 11:07 AM   #3615
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,024
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by watani View Post
There seems to be a problem with italicized sections for fanfics downloaded from Fimfiction. Only the first paragraph of each contiguous set of italicized paragraphs is correctly italicized and the remaining paragraphs are not.
...
Both of those stories nest the paragraph(<p>) and italics(<t>) tags incorrectly. Eg:
Code:
<p><i>...</p>...<p class="double">...</i></p>
The HTML parser automatically closes the <i> tag when it reaches the first </p> because the standards say that it has to be closed.

There is hope, however: FFDL now includes a newer HTML parser (BeautifulSoup4/html5lib). One of the other developers is working on updates to the FimF adapter to use the newer parser. Testing with the dev code shows that it can interpret that code as the author intended (I can't bring myself to call it correctly).

I don't know when the new version will be available, but it is coming.
JimmXinu is offline