Well, you've yet again found another weird little corner case. Congratulations!
Title page uses
seriesHTML, which FFF constructs as an HTML when it finds that it has a
seriesUrl value, or just text w/o link if there's a
series, but no
seriesUrl:
Code:
linkhtml="<a class='%slink' href='%s'>%s</a>"
if self.getMetadataRaw('seriesUrl'):
self.setMetadata('seriesHTML',linkhtml%('series',
self.getMetadata('seriesUrl', removeallentities, doreplacements),
self.getMetadata('series', removeallentities, doreplacements)))
elif self.getMetadataRaw('series'):
self.setMetadata('seriesHTML',self.getMetadataRaw('series'))
Because you cleared
series, but the code looks for
raw seriesUrl,
seriesHTML still contains HTML, just not visible HTML.
Trying to clear
seriesHTML based on the text value fails, because 'Whumptober' was already removed.
I will think about whether the code should be changed--IE, what else might break if I fix this issue in code.
In the meantime, this works:
Code:
seriesHTML=>.*=>&&seriesUrl=>https://archiveofourown.org/series/1951183
series=>.*=>&&seriesUrl=>https://archiveofourown.org/series/1951183