Browse Source

Remove yahoo and Gmail quote

Guénaël Muller 7 years ago
parent
commit
4f7f700cf3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tracim/tracim/lib/email_fetcher.py

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

@@ -22,7 +22,8 @@ from tracim.controllers.events import VALID_TOKEN_VALUE
22 22
 TRACIM_SPECIAL_KEY_HEADER = "X-Tracim-Key"
23 23
 BS_HTML_BODY_PARSE_CONFIG = {
24 24
     'tag_blacklist': ["script", "style", "blockquote"],
25
-    'class_blacklist': ['moz-cite-prefix'],
25
+    'class_blacklist': ['moz-cite-prefix','gmail_extra','gmail_quote',
26
+                        'yahoo_quoted'],
26 27
     'tag_whitelist': ['a', 'b', 'strong', 'i', 'br', 'ul', 'li', 'ol',
27 28
                       'em', 'i', 'u',
28 29
                       'thead', 'tr', 'td', 'tbody', 'table', 'p', 'pre'],