Added checks for incorrect usage of innerHTML. Fixes #1370

Yeah, I was going to post a mini link, but the updated documentation hasn't been merged yet (Paul is out for a couple weeks, so it probably be a little while).  I went ahead and added a period to the sentence.