split_tags_and_text
don't substitute space for &nbsp; inside html tags