protected property EntityFilteringThemeTest::$xss_label

A string containing markup and JS.

@string

File

drupal/core/modules/system/lib/Drupal/system/Tests/Theme/EntityFilteringThemeTest.php, line 70
Contains Drupal\system\Tests\Theme\EntityFilteringThemeTest.

Class

EntityFilteringThemeTest
Tests filtering for XSS in rendered entity templates in all themes.

Namespace

Drupal\system\Tests\Theme

Code

protected $xss_label = "string with <em>HTML</em> and <script>alert('JS');</script>";