assertEquals('card', $componentName); } public function test_base() { $componentName = syntax_plugin_webcomponent_card::getTag(); $doku_text = '<'. $componentName .' style="width: 18rem;">'.DOKU_LF. '{{:allowclipboardhelper.jpg?30|}}'.DOKU_LF. '=== Teaser Title ==='.DOKU_LF. 'A example taken from [[https://getbootstrap.com/docs/4.3/components/card/#example|the bootstrap quick example]] on how to build a card title in order to make up the bulk of the teaser content.'.DOKU_LF. ''.$componentName.'>'; $info = array(); $instructions = p_get_instructions($doku_text); $xhtml = p_render('xhtml', $instructions, $info); $expected = '
A example taken from the bootstrap quick example on how to build a card title in order to make up the bulk of the teaser content.
'.DOKU_LF. DOKU_TAB.'A example taken from the bootstrap quick example on how to build a card title in order to make up the bulk of the teaser content.
'.DOKU_LF. DOKU_TAB.'