summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorchris <chris@jalakai.co.uk>2007-01-26 21:41:45 +0100
committerchris <chris@jalakai.co.uk>2007-01-26 21:41:45 +0100
commitfc18c0fbae82b1bd3d6b74b486798753afea2c73 (patch)
tree85e5dc8591713b49288184c02917eecd7e52c5cd /inc/parser
parentb243dd2716602bb66b5e4377c4fd7c1b6e710058 (diff)
downloadrpg-fc18c0fbae82b1bd3d6b74b486798753afea2c73.tar.gz
rpg-fc18c0fbae82b1bd3d6b74b486798753afea2c73.tar.bz2
fix FS#1010
darcs-hash:20070126204145-9b6ab-db7eba9c6045584a381eb83ae48787627973532b.gz
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/metadata.php2
-rw-r--r--inc/parser/xhtml.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/inc/parser/metadata.php b/inc/parser/metadata.php
index d818ac337..1bb14b674 100644
--- a/inc/parser/metadata.php
+++ b/inc/parser/metadata.php
@@ -401,7 +401,7 @@ class Doku_Renderer_metadata 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,false);
if ($heading) return $heading;
}
return $default;
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);
}