summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2008-10-12 21:44:44 +0200
committerAnika Henke <anika@selfthinker.org>2008-10-12 21:44:44 +0200
commita6f3bd20c4aaf2fd765b700a35fe5e4872e87e98 (patch)
tree7d996f395e01a476a67af885573f81487338076b
parent27eb9321718ffb7a4140a7eea2f05db196c5e63c (diff)
downloadrpg-a6f3bd20c4aaf2fd765b700a35fe5e4872e87e98.tar.gz
rpg-a6f3bd20c4aaf2fd765b700a35fe5e4872e87e98.tar.bz2
ycatch space as email link text - again
darcs-hash:20081012194444-f7d6d-124f6788aaff8aedd72ffad5a6a99f6888459b59.gz
-rw-r--r--inc/parser/xhtml.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 6a997954a..a7d243283 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -1030,7 +1030,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
global $conf;
$isImage = false;
- if ( is_null($title) ) {
+ if ( is_null($title) || trim($title)=='') {
if ($conf['useheading'] && $id) {
$heading = p_get_first_heading($id,true);
if ($heading) {