Sanitize html fragments.