summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorAdrian Lang <lang@cosmocode.de>2010-03-16 10:52:51 +0100
committerAdrian Lang <lang@cosmocode.de>2010-03-16 10:53:24 +0100
commita2ea2dc1716c55791173d806d9a78c96846c72b8 (patch)
treeeaaba398844755f0f18269c789eb80ce8f442c19 /inc/parser
parentfda42deb082e4bdb560818a9c23b96f9312176d5 (diff)
downloadrpg-a2ea2dc1716c55791173d806d9a78c96846c72b8.tar.gz
rpg-a2ea2dc1716c55791173d806d9a78c96846c72b8.tar.bz2
Fix special link displaying in abstract
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/metadata.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/inc/parser/metadata.php b/inc/parser/metadata.php
index fc60e5774..f635ea1d5 100644
--- a/inc/parser/metadata.php
+++ b/inc/parser/metadata.php
@@ -334,8 +334,7 @@ class Doku_Renderer_metadata extends Doku_Renderer {
$this->_firstimage($name['src']);
if ($this->capture){
- if ($name) $this->doc .= $name;
- else $this->doc .= '<'.$url.'>';
+ $this->doc .= $this->_getLinkTitle($name, '<' . $url . '>');
}
}
@@ -345,7 +344,7 @@ class Doku_Renderer_metadata extends Doku_Renderer {
if ($this->capture){
list($wikiUri, $hash) = explode('#', $wikiUri, 2);
- $name = $this->_getLinkTitle($name, $wikiName.'>'.$wikiUri);
+ $name = $this->_getLinkTitle($name, $wikiUri);
$this->doc .= $name;
}
}