Issue with fiction.live setting in defaults[fiction.live] overriding personal[www.fiction.live]. Could use a more general solution if I can think of one.

This commit is contained in:
Jim Miller 2021-03-13 12:40:24 -06:00
parent 25427e17aa
commit 35dbb1967b
3 changed files with 9 additions and 9 deletions

View file

@ -1834,13 +1834,13 @@ use_basic_cache:true
## fiction.live spoilers display as a (blank) block until clicked, then they can become inline text.
## with true, adds them to an outlined block marked as a spoiler.
## with false, the text of the spoiler is unmarked and present in the work, as though alreday clicked
legend_spoilers:true
#legend_spoilers:true
## display 'spoiler' tags in the tag list, which can contain plot details
show_spoiler_tags:false
#show_spoiler_tags:false
## don't fetch covers marked as nsfw. covers for fiction.live can't be pornographic, but can get very close.
show_nsfw_cover_images:false
#show_nsfw_cover_images:false
## displays the timestamps on the story chunks, showing when each part went live.
show_timestamps:false
#show_timestamps:false
## site has more original than fan fiction
extratags:

View file

@ -311,7 +311,7 @@ class FictionLiveAdapter(BaseSiteAdapter):
soup = self.make_soup(chunk['b'] if 'b' in chunk else "")
if self.getConfig('legend_spoilers'):
if self.getConfig('legend_spoilers',True):
soup = self.add_spoiler_legends(soup)
if self.achievements:

View file

@ -1856,13 +1856,13 @@ use_basic_cache:true
## fiction.live spoilers display as a (blank) block until clicked, then they can become inline text.
## with true, adds them to an outlined block marked as a spoiler.
## with false, the text of the spoiler is unmarked and present in the work, as though alreday clicked
legend_spoilers:true
#legend_spoilers:true
## display 'spoiler' tags in the tag list, which can contain plot details
show_spoiler_tags:false
#show_spoiler_tags:false
## don't fetch covers marked as nsfw. covers for fiction.live can't be pornographic, but can get very close.
show_nsfw_cover_images:false
#show_nsfw_cover_images:false
## displays the timestamps on the story chunks, showing when each part went live.
show_timestamps:false
#show_timestamps:false
## site has more original than fan fiction
extratags: