fix trouble when unquoted value exists in tag attributes