function strip_html_and_encode_entities in Recipe 7.2
Same name and namespace in other branches
- 6 recipe.module \strip_html_and_encode_entities()
- 7 recipe.module \strip_html_and_encode_entities()
Sanitizes a string and encodes the ° symbol.
2 calls to strip_html_and_encode_entities()
- merge_template in modules/
recipe_mastercook4.module - recipe_plaintext_export in modules/
recipe_plaintext.module
File
- ./
recipe.module, line 1287 - Contains functions for Recipe node CRUD and display.
Code
function strip_html_and_encode_entities($string) {
$string = filter_xss($string, array());
$string = str_replace("°", "", $string);
return $string;
}