diff options
| author | Deep Patel <dep@odoo.com> | 2018-06-04 17:04:39 +0530 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2018-08-06 16:06:45 +0200 |
| commit | 967d228a44080381d185c252ff29c993b2b88429 (patch) | |
| tree | 1e64a8950f346d84b8c3d5169b4cf3057acb7f81 /addons/web_editor/static/src/js/editor/transcoder.js | |
| parent | 8b4b61dfcc36df7c6bead330c1f250130e97deb5 (diff) | |
[IMP] mass_mailing, mail: added support for media queries in mass mail
- Email generated from mass mailing will have its own layout with internal css.
- strip_classes is removed from mail_message because mail client are now supporting
internal stylesheet. we need it for make mail responsive.
mail: manually removed classes from incoming mail body
Because we removed strip_classes from mail message body field because we want to
allow classes in outgoing mail to make it responsive but classes are not removed
from incoming mails so here we manually removed classes from incoming mail.
opw-1836556
Diffstat (limited to 'addons/web_editor/static/src/js/editor/transcoder.js')
| -rw-r--r-- | addons/web_editor/static/src/js/editor/transcoder.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/js/editor/transcoder.js b/addons/web_editor/static/src/js/editor/transcoder.js index 84fe3cf8c93..45962e0df8c 100644 --- a/addons/web_editor/static/src/js/editor/transcoder.js +++ b/addons/web_editor/static/src/js/editor/transcoder.js @@ -37,7 +37,6 @@ function getMatchedCSSRules(a) { selectorText.indexOf(':active') === -1 && selectorText.indexOf(':link') === -1 && selectorText.indexOf('::') === -1 && - selectorText.indexOf('"') === -1 && selectorText.indexOf("'") === -1) { var st = selectorText.split(/\s*,\s*/); for (k = 0 ; k < st.length ; k++) { |
