Commit 9d2f34ff authored by alexpott's avatar alexpott
Browse files

Issue #2532082 by mbovan: Replace SafeMarkup::filterXss() with...

Issue #2532082 by mbovan: Replace SafeMarkup::filterXss() with SafeMarkup::xssFilter() in method documentation
parent faada60f
...@@ -170,7 +170,7 @@ public static function checkAdminXss($string) { ...@@ -170,7 +170,7 @@ public static function checkAdminXss($string) {
* *
* If Twig receives a value that is not marked as safe then it will * If Twig receives a value that is not marked as safe then it will
* automatically encode special characters in a plain-text string for display * automatically encode special characters in a plain-text string for display
* as HTML. Therefore, SafeMarkup::filterXss() should only be used when the * as HTML. Therefore, SafeMarkup::xssFilter() should only be used when the
* string might contain HTML that needs to be rendered properly by the * string might contain HTML that needs to be rendered properly by the
* browser. * browser.
* *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment