public void TestHtmlDecodingValue() { var tag = new HtmlText(); tag.Value = "10 < 20"; Assert.AreEqual("10 < 20", tag.Value); Assert.AreEqual("10 < 20", tag.ToString()); }
public override bool Equals(object obj) { if (obj == null || GetType() != obj.GetType()) { return(false); } else { HtmlText t = (HtmlText)obj; return(t.Value.Equals(Value)); } }