Example #1
0
 public void PutParagraphsInsideOverTags()
 {
     var proc = new Processor("__o _op_ `kek`__", 0);
     var res = proc.MarkText();
     Assert.AreEqual(res, "<p>\n<strong>o <em>op</em> <code>kek</code></strong>\n</p>\n");
 }
Example #2
0
 public void NotMarkOnlyOpenTags()
 {
     var proc = new Processor("__o _op `kek", 0);
     var res = proc.MarkText();
     Assert.AreEqual(res, "<p>\n__o _op `kek\n</p>\n");
 }
Example #3
0
 public void NotMarkTagsInsideWord()
 {
     var proc = new Processor("keks_peks_shmeks", 0);
     var res = proc.MarkText();
     Assert.AreEqual(res, "<p>\nkeks_peks_shmeks\n</p>\n");
 }
Example #4
0
 public void MarkTagsInsideOverTags()
 {
     var proc = new Processor("__o _op_ kek__", 0);
     var res = proc.MarkText();
     Assert.AreEqual(res, "<p>\n<strong>o <em>op</em> kek</strong>\n</p>\n");
 }