public function testConvertMarkdown_StripTags() { $this->assertEquals('<b>Hello</b> <i>world</i>', $this->textService->convertMarkdown('<b>Hello</b> <i>world</i>')); $this->assertEquals('Hello world', $this->textService->convertMarkdown('<script>Hello</script> <html>world</html>')); }
public function camdramMarkdown($text) { return $this->textService->convertMarkdown($text); }