Get rid of removing !important flags in render post process

[MAILPOET-1891]
This commit is contained in:
Rostislav Wolny
2019-04-02 17:31:51 +02:00
committed by M. Shull
parent 5e141148dc
commit fdb7dc971c
2 changed files with 1 additions and 5 deletions

View File

@@ -191,10 +191,6 @@ class Renderer {
$image->src = str_replace(' ', '%20', $image->src);
}
$template = $template_dom->query('.mailpoet_template');
// replace all !important tags except for in the body tag
$template->html(
str_replace('!important', '', $template->html())
);
// encode ampersand
$template->html(
str_replace('&', '&', $template->html())