public void InnerTextAllowed() { Assert.IsTrue(HtmlData.ChildrenAllowed("textarea")); Assert.IsTrue(HtmlData.ChildrenAllowed("script")); Assert.IsTrue(HtmlData.ChildrenAllowed("style")); Assert.IsTrue(HtmlData.ChildrenAllowed("div")); Assert.IsTrue(HtmlData.ChildrenAllowed("p")); Assert.IsTrue(HtmlData.ChildrenAllowed("option")); Assert.IsTrue(HtmlData.ChildrenAllowed("random")); Assert.IsFalse(HtmlData.ChildrenAllowed("br")); Assert.IsFalse(HtmlData.ChildrenAllowed("link")); }