summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorMichael Klier <chi@chimeric.de>2008-03-10 21:36:20 +0100
committerMichael Klier <chi@chimeric.de>2008-03-10 21:36:20 +0100
commit68c26e6d2ab4feaf957863bcf5ba379036c014d3 (patch)
tree56e8f6e3a486916ecde7531f7d5fbaec4224725b /inc/parser
parent124af657c8d7563757e72334573c08aec6457680 (diff)
downloadrpg-68c26e6d2ab4feaf957863bcf5ba379036c014d3.tar.gz
rpg-68c26e6d2ab4feaf957863bcf5ba379036c014d3.tar.bz2
fixed search result linking of pagenames which consist of numbers only
darcs-hash:20080310203620-23886-c6b6828f4cbd47cac4f904a25ca454403adef41c.gz
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/xhtml.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 34b5cd9a0..8add04363 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -1020,11 +1020,11 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
}
}
return $this->_xmlEntities($default);
- } else if ( is_string($title) ) {
- return $this->_xmlEntities($title);
} else if ( is_array($title) ) {
$isImage = true;
return $this->_imageTitle($title);
+ } else {
+ return $this->_xmlEntities($title);
}
}