X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Fpreview.ml;h=3bd28b24f22b582ad2bec776346dc95a1684659f;hb=a9168cad656af034b671c9dea53057845e2196c9;hp=68d1e561166d27fef96558c89d934cff0a6aa75b;hpb=3062d573a7617339324c23cdd4755f8f04956b92;p=cocanwiki.git diff --git a/scripts/preview.ml b/scripts/preview.ml index 68d1e56..3bd28b2 100644 --- a/scripts/preview.ml +++ b/scripts/preview.ml @@ -1,7 +1,7 @@ (* COCANWIKI scripts. * Written by Richard W.M. Jones . * Copyright (C) 2004 Merjis Ltd. - * $Id: preview.ml,v 1.1 2004/09/07 10:14:09 rich Exp $ + * $Id: preview.ml,v 1.2 2004/09/07 13:40:10 rich Exp $ * * In case you were wondering, this script is called from the Javascript * to update the preview
. See /_js/editor.js for details. @@ -14,7 +14,7 @@ open Printf open Cocanwiki -let run r (q : cgi) (dbh : Dbi.connection) (hostid, _) _ = +let run r (q : cgi) (dbh : Dbi.connection) (hostid, _, _) _ = let content = q#param "content" in let xhtml = Wikilib.xhtml_of_content dbh hostid content in