public static function HamlHelpers::html_escape in Sassy 7
* Returns a copy of text with ampersands, angle brackets and quotes escaped * into HTML entities. *
Parameters
string Haml block: * @return string the block with HTML entities escaped.
File
- phamlp/
haml/ HamlHelpers.php, line 102
Class
- HamlHelpers
- HamlHelpers class. Contains methods to make it easier to do various tasks.
Code
public static function html_escape($block) {
return htmlspecialchars($block);
}