Skip to content
Snippets Groups Projects
Commit 49cef4fd authored by Andreas Böhler's avatar Andreas Böhler
Browse files

Add 'returnonly' option even if no valid url is given

parent 32792fc0
No related branches found
No related tags found
No related merge requests found
......@@ -914,7 +914,11 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
// is there still an URL?
if(!$url) {
$this->doc .= $name;
if($returnonly) {
return $name;
} else {
$this->doc .= $name;
}
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment