assertEquals('cite', $elementName); } public function test_base() { // https://getbootstrap.com/docs/4.3/components/card/#using-custom-css $element = syntax_plugin_webcomponent_cite::getTag(); $doku_text = '<' . $element . '>[[:namespace:page#section|bla]]'; $expected = 'bla'; $instructions = p_get_instructions($doku_text); $xhtml = p_render('xhtml', $instructions, $info); $this->assertEquals($expected, $xhtml); } }