Fixed Bug With !DOCTYPE

Bug Reported By Trevor Paley <tmpaley@gmail.com> via email.