Bugfix: text chunk calls remove() if it only contains HTML