Skip to content

Commit

Permalink
Merge pull request #4003 from nextcloud/fix/3076/improve-html-message…
Browse files Browse the repository at this point in the history
…-rendering

Improve html message rendering
  • Loading branch information
ChristophWurst authored Nov 5, 2020
2 parents e68dd89 + 71931bc commit 2a4f99f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Service/Html.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ public function sanitizeHtmlMailBody(string $mailBody, array $messageParameters,
$config->set('URI.Host', Util::getServerHostName());

$config->set('Filter.ExtractStyleBlocks', true);
$config->set('CSS.AllowTricky', true);
$config->set('CSS.Proprietary', true);

// Disable the cache since ownCloud has no really appcache
// TODO: Fix this - requires https://github.com/owncloud/core/issues/10767 to be fixed
Expand Down

0 comments on commit 2a4f99f

Please sign in to comment.