             return false;
         }
         return matcher.match(nextTag.toLowerCase());
-    }
-
-    public function isAttrOptionalTag(tagName:String):Boolean
-    {
-        return attrOptionalTags.contains(tagName.toLowerCase());
     }
 
     public function isTextEntity(query:String):Boolean


    public function isHTMLTag(tagName:String):Boolean
    {
        return allTags.contains(tagName.toLowerCase());
    }

    public function isEmptyTag(tag:String):Boolean
    {
        return empty.contains(tag.toLowerCase());
    }

    public function isTagClosedBy(openTag:String, nextTag:String):Boolean

        attrOptionalTags.addIterable(phrase);
    }

    private static function inTagSet(tagSet:Set, tagName:String):Boolean
    {
        return tagSet.contains(tagName.toLowerCase());
    }


    private static var _instance:HTMLReference;
    public static function get instance():HTMLReference
