From 738a1acd0e002fe46ff9831f9e929c6a19ac9477 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 27 Feb 2017 13:33:24 +0100 Subject: [PATCH] Revert Htmlawed option comment back into value 1 --- api/src/Mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Mail.php b/api/src/Mail.php index 4c8a679fa5..52ba7f4b40 100644 --- a/api/src/Mail.php +++ b/api/src/Mail.php @@ -128,7 +128,7 @@ class Mail * * @array */ - static $htmLawed_config = array('comment'=>2, //remove comments + static $htmLawed_config = array('comment'=>1, //remove comments 'make_tag_strict' => 3, // 3 is a new own config value, to indicate that transformation is to be performed, but don't transform font as size transformation of numeric sizes to keywords alters the intended result too much 'keep_bad'=>2, //remove tags but keep element content (4 and 6 keep element content only if text (pcdata) is valid in parent element as per specs, this may lead to textloss if balance is switched on) // we switch the balance off because of some broken html mails contents get removed like (td in table), and let browser deal with it