diff --git a/info.txt b/info.txt index ac609f9..af346af 100644 --- a/info.txt +++ b/info.txt @@ -2,7 +2,7 @@ author Andreas Gohr email andi@splitbrain.org -date 2007-01-20 +date 2008-06-20 name S5 Slideshow Plugin desc Display a Wiki page as S5 slideshow presentation url http://wiki.splitbrain.org/plugin:s5 diff --git a/renderer.php b/renderer.php index acc2711..628f3c0 100644 --- a/renderer.php +++ b/renderer.php @@ -26,6 +26,17 @@ class renderer_plugin_s5 extends Doku_Renderer_xhtml { return confToHash(dirname(__FILE__).'/info.txt'); } + /** + * the format we produce + */ + function getFormat(){ + // this should be 's5' usally, but we inherit from the xhtml renderer + // and produce XHTML as well, so we can gain magically compatibility + // by saying we're the 'xhtml' renderer here. + return 'xhtml'; + } + + /** * Initialize the rendering */ @@ -84,7 +95,7 @@ class renderer_plugin_s5 extends Doku_Renderer_xhtml {