added a fix where content has no html tags and text