Bastien Sevajol 7 years ago
parent
commit
26c9aa3876
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tracim/tracim/lib/email_fetcher.py

+ 1 - 0
tracim/tracim/lib/email_fetcher.py View File

19
 from tracim.lib.base import logger
19
 from tracim.lib.base import logger
20
 
20
 
21
 TRACIM_SPECIAL_KEY_HEADER = 'X-Tracim-Key'
21
 TRACIM_SPECIAL_KEY_HEADER = 'X-Tracim-Key'
22
+# TODO BS 20171124: Think about replace thin dict config by object
22
 BEAUTIFULSOUP_HTML_BODY_PARSE_CONFIG = {
23
 BEAUTIFULSOUP_HTML_BODY_PARSE_CONFIG = {
23
     'tag_blacklist': ['script', 'style', 'blockquote'],
24
     'tag_blacklist': ['script', 'style', 'blockquote'],
24
     'class_blacklist': ['moz-cite-prefix', 'gmail_extra', 'gmail_quote',
25
     'class_blacklist': ['moz-cite-prefix', 'gmail_extra', 'gmail_quote',