From 4ab889ea63838db0bbb33dd0d316eac03ab69cf2 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Wed, 11 Jul 2007 23:36:24 +0200 Subject: improved feed creation The feed now can export diff views (unified and HTML) as well as full HTML page content. Some things might be broken. Everybody please test it! darcs-hash:20070711213624-7ad00-49359417127fdbd6e31374738509110271b6b351.gz --- inc/parser/xhtml.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'inc/parser/xhtml.php') diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index 3a1eef3e7..2c1061c69 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -101,13 +101,15 @@ class Doku_Renderer_xhtml extends Doku_Renderer { if(count($toc) < 3) return ''; global $lang; - $out = '
'.DOKU_LF; + $out = ''.DOKU_LF; + $out .= '
'.DOKU_LF; $out .= '
'; $out .= $lang['toc']; $out .= '
'.DOKU_LF; $out .= '
'.DOKU_LF; $out .= html_buildlist($toc,'toc',array(__CLASS__,'_tocitem')); $out .= '
'.DOKU_LF.'
'.DOKU_LF; + $out .= ''.DOKU_LF; return $out; } @@ -928,6 +930,10 @@ class Doku_Renderer_xhtml extends Doku_Renderer { $ret .= '_xmlEntities($title).'"'; $ret .= ' alt="'.$this->_xmlEntities($title).'"'; -- cgit v1.2.3