Fixed problem recognizing tags in the form of <foo ... bar=<!-- TMPL_VAR ... >>