26 calls to filter_xss()

aggregator_filter_xss in drupal/core/modules/aggregator/aggregator.module
Safely renders HTML content, as allowed.
AlterTest::testExecutionOrder in drupal/core/modules/system/lib/Drupal/system/Tests/Form/AlterTest.php
Tests execution order of hook_form_alter() and hook_form_FORM_ID_alter().
CommentTokenReplaceTest::testCommentTokenReplacement in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentTokenReplaceTest.php
Creates a comment, then tests the tokens generated from it.
comment_tokens in drupal/core/modules/comment/comment.tokens.inc
Implements hook_tokens().
DBLogTest::assertLogMessage in drupal/core/modules/dblog/lib/Drupal/dblog/Tests/DBLogTest.php
Confirms that a log message appears on the database log overview screen.
DBLogTest::doUser in drupal/core/modules/dblog/lib/Drupal/dblog/Tests/DBLogTest.php
Generates and then verifies some user events.
dblog_overview in drupal/core/modules/dblog/dblog.admin.inc
Page callback: Displays a listing of database log messages.
drupal_html_to_text in drupal/core/includes/mail.inc
Transforms an HTML string into plain text, preserving its structure.
field_filter_xss in drupal/core/modules/field/field.module
Filters an HTML string to prevent cross-site-scripting (XSS) vulnerabilities.
FilterUnitTest::testFilterXSS in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterUnitTest.php
Tests limiting allowed tags and XSS prevention.
filter_xss_admin in drupal/core/includes/common.inc
Applies a very permissive XSS/HTML filter for admin-only use.
format_backtrace in drupal/core/includes/errors.inc
Formats a backtrace into a plain-text string.
HandlerBase::sanitizeValue in drupal/core/modules/views/lib/Drupal/views/Plugin/views/HandlerBase.php
Sanitize the value for output.
hook_tokens in drupal/core/modules/system/system.api.php
Provide replacement values for placeholder tokens.
locale_string_is_safe in drupal/core/modules/locale/locale.module
Check that a string is safe to be added or imported as a translation.
node_revision_overview in drupal/core/modules/node/node.pages.inc
Page callback: Generates an overview table of older revisions of a node.
PollTokenReplaceTest::testPollTokenReplacement in drupal/core/modules/poll/lib/Drupal/poll/Tests/PollTokenReplaceTest.php
Creates a poll, then tests the tokens generated from it.
poll_tokens in drupal/core/modules/poll/poll.tokens.inc
Implements hook_tokens().
taxonomy_tokens in drupal/core/modules/taxonomy/taxonomy.tokens.inc
Implements hook_tokens().
theme_dblog_message in drupal/core/modules/dblog/dblog.admin.inc
Returns HTML for a log message.
TokenReplaceTest::testSystemDateTokenReplacement in drupal/core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php
Tests the generation of all system date tokens.
TokenReplaceTest::testTaxonomyTokenReplacement in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TokenReplaceTest.php
Creates some terms and a node, then tests the tokens generated from them.
WebTestBase::assertTextHelper in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Helper for assertText and assertNoText.
WebTestBase::assertUniqueTextHelper in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Helper for assertUniqueText and assertNoUniqueText.
XssUnitTest::testInvalidMultiByte in drupal/core/modules/system/lib/Drupal/system/Tests/Common/XssUnitTest.php
Checks that invalid multi-byte sequences are rejected.
_filter_html in drupal/core/modules/filter/filter.module
Provides filtering of input into accepted HTML.