fixes bug for "!--" in attribute value

misstaken for being a commenti, since the tag compare function had a indexing
error where it diddn't look at the first char of the defined tag.