1 diff --git a/renderer.php b/renderer.php
2 index 6aba3f3..a899e62 100644
5 @@ -16,6 +16,7 @@ require_once DOKU_INC.'inc/ZipLib.class.php';
8 class renderer_plugin_odt extends Doku_Renderer {
9 + var $info = array("cache"=> false);
13 @@ -136,12 +137,9 @@ class renderer_plugin_odt extends Doku_Renderer {
17 - // store the content type headers in metadata
19 - 'Content-Type' => 'application/vnd.oasis.opendocument.text',
20 - 'Content-Disposition' => 'attachment; filename="'.noNS($ID).'.odt";'
22 - p_set_metadata($ID,array('format' => array('odt' => $headers) ));
23 + // send the content type header
24 + header('Content-Type: application/vnd.oasis.opendocument.text');
25 + header('Content-Disposition: attachment; filename="'.str_replace(':','-',$ID).'.odt";');