(* COCANWIKI - a wiki written in Objective CAML.
* Written by Richard W.M. Jones <rich@merjis.com>.
* Copyright (C) 2004 Merjis Ltd.
- * $Id: preview.ml,v 1.5 2004/10/04 15:19:56 rich Exp $
+ * $Id: preview.ml,v 1.6 2004/10/23 12:00:24 rich Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
let xhtml = Wikilib.xhtml_of_content dbh hostid content in
q#header ~content_type:"text/html; charset=utf-8" ();
- print_string r xhtml
+ ignore (print_string r xhtml)
let () =
register_script ~restrict:[CanView] run