Added parameters remove_html_tags and remove_extra_spaces