Add braces to _strip_tags_f to make it more explicit, fix parsing of HTML