Fix for when tag.text is None
Merge pull request #214 from facelessuser/master

Fix for when tag.text is None