check_plain

5 bootstrap.inc check_plain($text)
6 bootstrap.inc check_plain($text)
7 bootstrap.inc check_plain($text)
8 bootstrap.inc check_plain($text)

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

96 calls to check_plain()

2 string references to 'check_plain'

File

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

Code

function check_plain($text) {
  return htmlspecialchars($text, ENT_QUOTES);
}
Login or register to post comments