Fix blank innerHTML when text attribute is blank

When text attribute is set to blank "", set innerHTML to blank "".