From a6f3bd20c4aaf2fd765b700a35fe5e4872e87e98 Mon Sep 17 00:00:00 2001 From: Anika Henke <anika@selfthinker.org> Date: Sun, 12 Oct 2008 21:44:44 +0200 Subject: [PATCH] ycatch space as email link text - again darcs-hash:20081012194444-f7d6d-124f6788aaff8aedd72ffad5a6a99f6888459b59.gz --- inc/parser/xhtml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- GitLab