Loading src/Plugin/Field/FieldFormatter/Rss.php +11 −5 Original line number Diff line number Diff line Loading @@ -185,6 +185,10 @@ class Rss extends FormatterBase { * The sanitized output. */ protected function sanitizeInput($html, $allowed_tags) { if (empty($html)) { return ''; } else { if ($this->getSetting('strip_html')) { return strip_tags($html); } Loading @@ -196,3 +200,5 @@ class Rss extends FormatterBase { } } } Loading
src/Plugin/Field/FieldFormatter/Rss.php +11 −5 Original line number Diff line number Diff line Loading @@ -185,6 +185,10 @@ class Rss extends FormatterBase { * The sanitized output. */ protected function sanitizeInput($html, $allowed_tags) { if (empty($html)) { return ''; } else { if ($this->getSetting('strip_html')) { return strip_tags($html); } Loading @@ -196,3 +200,5 @@ class Rss extends FormatterBase { } } }