This commit adds a check to limit the amount of html code you will evaluate

This pull request is related to issue #42