Brettle.Web.NeatHtml.ScriptJail.GetInfoForTags C# (CSharp) Method

GetInfoForTags() private static method

private static GetInfoForTags ( ) : Hashtable
return System.Collections.Hashtable
        private static Hashtable GetInfoForTags()
        {
            Hashtable dict = new Hashtable();
            for (int i = 0; i < tagsAllowedWhenNoScript.Length; i++)
            {
                dict[tagsAllowedWhenNoScript[i]] = TagInfo.NOT_TABLE_RELATED;
            }
            dict["table"] = TagInfo.TABLE;
            dict["td"] = dict["th"] = TagInfo.TABLE_CELL;
            dict["caption"] = dict["colgroup"] = dict["col"] = dict["tbody"]
                = dict["tfoot"] = dict["thead"] = dict["tr"]
                    = TagInfo.TABLE_OTHER;
            return dict;
        }