protected static property Xss::$htmlTags

The default list of HTML tags allowed by filter().

Type: array

See also

\Drupal\Component\Utility\Xss::filter()

File

core/lib/Drupal/Component/Utility/Xss.php, line 28

Class

Xss
Provides helper to filter for cross-site scripting.

Namespace

Drupal\Component\Utility

Code

protected static $htmlTags = array('a', 'em', 'strong', 'cite', 'blockquote', 'code', 'ul', 'ol', 'li', 'dl', 'dt', 'dd');

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Utility!Xss.php/property/Xss::htmlTags/8.1.x