Comments (1)
FFF runs the previous chapter HTML through BeautifulSoup to be able to do things like image and link processing.
Part of FFF's HTML processing is to remove HTML attributes that aren't explicitly allowed:
## Some attributes cause problems for EBook readers. By default,
## FanFicFare will remove all attributes except the ones specified
## from all tags. (The only exception is that <img> tags will also
## keep src, alt and longdesc attributes. data-orighref is used by
## internalize_text_links to preserve links when chapters are
## inserted.)
## Example: To add 'style', 'title' and 'align' to the list to keep,
## in your personal.ini [defaults] put:
## add_to_keep_html_attrs:,style,title,align
keep_html_attrs:href,name,class,id,colspan,rowspan,data-orighref
You can put add_to_keep_html_attrs:,epub:type
in your personal.ini
.
BeautifulSoup has a list of which tags are allowed to be self closing and which aren't based on the HTML standards. If what those tags are has changed, that suggests that BS has changed.
Are you using the CLI or Calibre plugin version of FFF? What version of beautifulsoup4
do you have installed if CLI? What version of Calibre if plugin?
Can you provide before and after epubs that demonstrate this?
from fanficfare.
Related Issues (20)
- [Feature Request] Mark New Anthology Entries (New) When Updating HOT 14
- Get AO3 restricted series fails even with user/pass set HOT 6
- Can't Merge Different FanFic Versions - Calibre Plugin HOT 2
- [enhancement] Support for https://creativenovels.com/
- FanFicFare doesn't recognize chapters in existing epub HOT 1
- Error downloading from tgstorytime
- fanficfare -o use_browser_cache=true -o use_browser_cache_only=true with Flatpaked Firefox? HOT 28
- Passwords that contain a % fail HOT 1
- Import error when system python's urllib3 is version 2 HOT 2
- Lush story URL doesn't work HOT 4
- scribblehub example url not working HOT 2
- InvalidURL on downloading from Fanfiction.net and AO3 HOT 1
- forums.spacebattles.com returns (403) error HOT 12
- Calibre locks up updating metadata with one story on ao3 HOT 4
- AO3 Explicit stories fail when is_adult:true isn't set - 'NoneType' object has no attribute 'get_text' on certain ao3 stories HOT 10
- Ao3 stories just giving titles after new test version HOT 2
- [Enhancement] Get stories from Webpage - recognize/flag AO3 series
- Storiesonline.net getting words as html tags when it this tool saves textContent in xhtml files. HOT 1
- Very Large Images Not Being Resized to Max Image Size HOT 12
- Dead/Defunct Site: noveltrove.com HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fanficfare.