View Single Post
Old 07-01-2016, 11:18 AM   #1362
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 readerboy7 View Post
I'm having a problem involving downloading stories from Fanfiction.net that contain underlines ...
I assume this is due to FFnet using <em> for italics and <strong> for bold, but <span style="text-decoration: underline;"> for underline, but I'm not sure.

* https://www.fanfiction.net/s/7262793...es-of-the-Past (for testing, the section in chapter 2 "there are still" is underlined)
You are basically correct. By default FanFicFare strips most tag attributes, including style, to standardize output and reduce wasted bytes.

You can change that by putting one of these in your personal.ini:

Code:
# keep style for all stories
[defaults]
add_to_keep_html_attrs:,style

# keep style for all ffnet stories
[fanfiction.net]
add_to_keep_html_attrs:,style

# keep style for story 7262793 only.
[https://www.fanfiction.net/s/7262793/1/]
add_to_keep_html_attrs:,style
JimmXinu is offline   Reply With Quote