This project has moved and is read-only. For the latest updates, please go here.

HtmlNode glitch ?


Hey guys,
I think its a small glitch. The option tag mus be have flag HtmlElementFlag.CanOverlap not empty. It can contain lets say country flag image and should be rendered all the times with closing tag to render correctly in older IE
        /// <summary>
        /// Initialize HtmlNode. Builds a list of all tags that have special allowances
        /// </summary>
        static HtmlNode()
            // they sometimes contain, and sometimes they don 't...
            ElementsFlags.Add("option", HtmlElementFlag.Empty);
It should be
                /* J.B options can over lap not empty */
                { "option", HtmlElementFlag.CanOverlap },

Example :
             ElementsFlags.Add("input", HtmlElementFlag.Empty);
not the same as
             ElementsFlags.Add("option", HtmlElementFlag.Empty);