Render open-location syntax as link
Some checks failed
DokuWiki Default Tasks / all (push) Has been cancelled
Some checks failed
DokuWiki Default Tasks / all (push) Has been cancelled
This commit is contained in:
@@ -245,9 +245,9 @@ class plugin_luxtools_test extends DokuWikiTest
|
||||
}
|
||||
|
||||
/**
|
||||
* This function checks that the open syntax renders an inline button.
|
||||
* This function checks that the open syntax renders an inline link.
|
||||
*/
|
||||
public function test_open_button()
|
||||
public function test_open_link()
|
||||
{
|
||||
$instructions = p_get_instructions('{{open>/tmp/somewhere|Open here}}');
|
||||
$xhtml = p_render('xhtml', $instructions, $info);
|
||||
@@ -256,7 +256,7 @@ class plugin_luxtools_test extends DokuWikiTest
|
||||
$doc->html($xhtml);
|
||||
|
||||
$structure = [
|
||||
'button.luxtools-open' => 1,
|
||||
'a.luxtools-open' => 1,
|
||||
];
|
||||
$this->structureCheck($doc, $structure);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user