From 4a1e5fc5b42ca3e44ec10079aac57e6d9cd16879 Mon Sep 17 00:00:00 2001 From: rich Date: Fri, 15 Oct 2004 20:11:41 +0000 Subject: [PATCH] Allow src and alt on input buttons in forms - used primarily for --- scripts/wikilib.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/wikilib.ml b/scripts/wikilib.ml index f4b309b..e2a04fb 100644 --- a/scripts/wikilib.ml +++ b/scripts/wikilib.ml @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * Copyright (C) 2004 Merjis Ltd. - * $Id: wikilib.ml,v 1.13 2004/10/14 15:57:15 rich Exp $ + * $Id: wikilib.ml,v 1.14 2004/10/15 20:11:41 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 @@ -444,7 +444,7 @@ let allowed_elements = let forms = [ "form", [ "method"; "action"; "enctype" ]; - "input", [ "name"; "value"; "type"; "size"; "maxlength" ]; + "input", [ "name"; "value"; "type"; "size"; "maxlength"; "src"; "alt" ]; "textarea", [ "name"; "rows"; "cols" ]; ] in -- 1.8.3.1