4.6 bootstrap.inc check_plain($text)
4.7 bootstrap.inc check_plain($text)
5 bootstrap.inc check_plain($text)
6 bootstrap.inc check_plain($text)
7 bootstrap.inc check_plain($text)

Encode special characters in a plain-text string for display as HTML.

96 calls to check_plain()
aggregator_block in modules/aggregator.module
Implementation of hook_block().
aggregator_form_feed in modules/aggregator.module
aggregator_page_categories in modules/aggregator.module
Menu callback; displays all the categories used by the aggregator.
aggregator_page_opml in modules/aggregator.module
Menu callback; generates an OPML representation of all feeds.
aggregator_page_sources in modules/aggregator.module
Menu callback; displays all the feeds used by the aggregator.

... See full list

2 string references to 'check_plain'
locale_user in modules/locale.module
Implementation of hook_user().
_locale_string_seek_form in includes/locale.inc
User interface for the string search screen


includes/bootstrap.inc, line 628
Functions that need to be loaded on every Drupal request.


function check_plain($text) {
  return htmlspecialchars($text, ENT_QUOTES);