Fixed Bug With !DOCTYPE

Reported By Trevor Paley<tmpaley@gmail.com>