diff --git a/calibre-plugin/plugin-defaults.ini b/calibre-plugin/plugin-defaults.ini index 6b8241ec..9fbfc05d 100644 --- a/calibre-plugin/plugin-defaults.ini +++ b/calibre-plugin/plugin-defaults.ini @@ -678,8 +678,8 @@ chapter_title_error_mark:(CHAPTER ERROR) #max_zalgo:1 ## Some site use a common obfuscation of email addresses. Set -## decode_emails:true for FFF to attempt to decode them. -decode_emails:false +## decode_emails:false if decoding them causes problems. +decode_emails:true ## Apply adapter's normalize_chapterurl() to all links in chapter ## texts, if they match the known pattern(s) for chapter URLs. As of diff --git a/fanficfare/adapters/base_adapter.py b/fanficfare/adapters/base_adapter.py index 13f258a2..1006eaa5 100644 --- a/fanficfare/adapters/base_adapter.py +++ b/fanficfare/adapters/base_adapter.py @@ -659,7 +659,7 @@ class BaseSiteAdapter(Requestable): if not fetch: fetch=self.get_request_raw - if self.getConfig("decode_emails"): + if self.getConfig("decode_emails",True): # [email protected] # [email protected] for emailtag in soup.select('a.__cf_email__') + soup.select('span.__cf_email__'): diff --git a/fanficfare/defaults.ini b/fanficfare/defaults.ini index a86bb57e..93da1a6c 100644 --- a/fanficfare/defaults.ini +++ b/fanficfare/defaults.ini @@ -679,8 +679,8 @@ chapter_title_error_mark:(CHAPTER ERROR) #max_zalgo:1 ## Some site use a common obfuscation of email addresses. Set -## decode_emails:true for FFF to attempt to decode them. -decode_emails:false +## decode_emails:false if decoding them causes problems. +decode_emails:true ## Apply adapter's normalize_chapterurl() to all links in chapter ## texts, if they match the known pattern(s) for chapter URLs. As of