template element parsing
bug fix for character reference tokenizing in attribute values