summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser/xhtml.php')
-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 5e3a12849..7cccb14ec 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -995,7 +995,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
$isImage = false;
if ( is_null($title) ) {
if ($conf['useheading'] && $id) {
- $heading = p_get_first_heading($id);
+ $heading = p_get_first_heading($id,true);
if ($heading) {
return $this->_xmlEntities($heading);
}