Fixed a couple of issues in LexerCommon and HtmlLexer.