Example #1
0
 public function testStripMarkdown_Emails()
 {
     $this->assertEquals('websupport@camdram.net can be used for support', $this->textService->stripMarkdown('[E:websupport@camdram.net] can be used for support'));
     $this->assertEquals('The support email can be used for support', $this->textService->stripMarkdown('The [E:websupport@camdram.net;support email] can be used for support'));
 }
Example #2
0
 public function stripCamdramMarkdown($text)
 {
     return $this->textService->stripMarkdown($text);
 }