Definition

check_plain($text)
drupal/includes/bootstrap.inc, line 628

Description

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

Code

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