public AllowedTagsXssTrait::fieldFilterXss($string)
Filters an HTML string to prevent XSS vulnerabilities.
Like \Drupal\Component\Utility\Xss::filterAdmin(), but with a shorter list of allowed tags.
Used for items entered by administrators, like field descriptions, allowed values, where some (mainly inline) mark-up may be desired (so \Drupal\Component\Utility\Html::escape() is not acceptable).
Parameters
string $string: The string with raw HTML in it.
Return value
\Drupal\Component\Utility\Sa