JimmXinu / FanFicFare

FanFicFare is a tool for making eBooks from stories on fanfiction and other web sites.
Other
757 stars 162 forks source link

Weird issue in AO3 Chapter #917

Closed Twilight666 closed 1 year ago

Twilight666 commented 1 year ago

I found a weird issue on this chapter:

https://archiveofourown.org/works/5953125/chapters/112928932

It is chapter 53 so you can download it as https://archiveofourown.org/works/5953125/chapters/112928932[53-] It looks like it is some kind of formating error on the text:

Similar kind of thing happens here https://archiveofourown.org/works/43987488/chapters/112720393 (chapter 5) were halfway through after a <em> another<em> opens and everything afterwards is in italics (after Booth clearly hated this particular part of the case.) In that one there is another <em> opening later (after You can call me Skye if you want, I prefer Daisy) were the 2nd not looks like should be in italics but isn't on the site either

The above looks like a bug in AO3 and not in FFF, but maybe it can be dealt with in download so that the end result maches the site.

I don't know if that's possible, or even if you are interested in doing it, but since I found it (and I think I figured out why) I figured I might as well open a issue here so that you can at least check it out to see

JimmXinu commented 1 year ago

For that first one, there's a CSS rule(in here) that overrides the <i> tags. If you want, you can copy that into your output_css settings for AO3 or that specific story.

Other than that, this is the authors' issue.

Twilight666 commented 1 year ago

1st of all the link is a massive text. Which part should I add 2nd of all, does that mean that it deactivates all italics? In that case is it possible to do it for specific chapters (since the rest of the chapters are fine)

JimmXinu commented 1 year ago

Browser Inspection shows this is the CSS line:

cite em, em cite, cite i, i cite, i em, em i, em em, i i, cite cite {
  font-style: normal;
}

It only effects doubled up i or em, etc. This is clearly a work around for exactly this sort of situation. Because WYSWIG editors in general are kind of crap.

Interestingly, AO3 doesn't include that CSS in their own EPUB download.