function strip_html_and_encode_entities in Recipe 6
Same name and namespace in other branches
- 7.2 recipe.module \strip_html_and_encode_entities()
- 7 recipe.module \strip_html_and_encode_entities()
4 calls to strip_html_and_encode_entities()
- format_mastercook4_ingredient in plugins/
recipe_mastercook4.module - merge_template in plugins/
recipe_mastercook4.module - prepare_receipe_data in plugins/
recipe_pdf35.module - recipe_plaintext_export in plugins/
recipe_plaintext.module
File
- ./
recipe.module, line 1736 - recipe.module - share recipes
Code
function strip_html_and_encode_entities($string) {
$string = filter_xss($string, array());
$string = str_replace("°", "", $string);
return $string;
}