public void ConvertNewLine()
        {
            var result = StaticTextToHtml.Convert("Normal body temperature is 36C - 37C (96.8F - 98.6F)." + Environment.NewLine + "Even if you have a high temperature, your hands and feet may still feel cool, or you may feel cold and shivery.");

            Assert.AreEqual("Normal body temperature is 36C - 37C (96.8F - 98.6F).<br/>Even if you have a high temperature, your hands and feet may still feel cool, or you may feel cold and shivery.", result);
        }
Пример #2
0
 public void Convert_WithNull_DoesntThrowNullRefException()
 {
     StaticTextToHtml.Convert(null);
 }