Skip to content

Commit

Permalink
removeAllHTMLTagsAndAttributes now removes bad tags again
Browse files Browse the repository at this point in the history
Reverted small change for #1000
  • Loading branch information
eSilverStrike committed Nov 26, 2019
1 parent 3148a73 commit 5f5c217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/classes/gltext.class.php
Expand Up @@ -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);

Expand Down

0 comments on commit 5f5c217

Please sign in to comment.