Calling all Drupal developers!
Help us get this on the first page of Digg. DIGG NOW!
Help us get this on the first page of Digg. DIGG NOW!
check_plain($text)
6/includes/bootstrap.inc, line 694
Encode special characters in a plain-text string for display as HTML.
Uses drupal_validate_utf8 to prevent cross site scripting attacks on Internet Explorer 6.
<?php
function check_plain($text) {
return drupal_validate_utf8($text) ? htmlspecialchars($text, ENT_QUOTES) : '';
}
?>