コード例 #1
0
        public void EscapeHtml()
        {
            StringOperators.EscapeHtml("\"Me < Me & Jou, Jou > Me.\", said he.").Should().Be("&quot;Me &lt; Me &amp; Jou, Jou &gt; Me.&quot;, said he.");

            StringOperators.FpEscape("1 < 5", "html").Should().Be("1 &lt; 5");
        }