summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/parser/xhtml.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 3efb542de..c1a07d24f 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -818,6 +818,9 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
$this->doc .= '<li><div class="li">';
$this->doc .= '<em>'.$lang['rssfailed'].'</em>';
$this->externallink($url);
+ if($conf['allowdebug']){
+ $this->doc .= '<!--'.hsc($feed->error).'-->';
+ }
$this->doc .= '</div></li>';
}
$this->doc .= '</ul>';