From 5f5c2171d6b58390b9661d261ca68379ae89be67 Mon Sep 17 00:00:00 2001 From: eSilverStrike Date: Tue, 26 Nov 2019 16:23:28 -0500 Subject: [PATCH] removeAllHTMLTagsAndAttributes now removes bad tags again Reverted small change for #1000 --- system/classes/gltext.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/classes/gltext.class.php b/system/classes/gltext.class.php index 964601757..eb588ac6d 100644 --- a/system/classes/gltext.class.php +++ b/system/classes/gltext.class.php @@ -303,7 +303,7 @@ public static function removeAllHTMLTagsAndAttributes($text) // http://www.bioinformatics.org/phplabware/forum/viewtopic.php?id=88 $config = [ 'elements' => '-*', - 'keep_bad' => 1, // See Issue #1000 - Was 0 but needed to change to 1 to keep our links (as we wrap them in <>) in our notification emails about users, comments, etc... + 'keep_bad' => 0, ]; $text = htmLawed($text, $config);