From 63ca4dc3b386c314e015c8b3e87a724f8f3140c5 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 3 Mar 2014 13:50:35 +0000 Subject: HTML select multiple is boolean attribute --- html.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html.lua b/html.lua index 2724191..5b1b444 100644 --- a/html.lua +++ b/html.lua @@ -193,13 +193,13 @@ function mymodule.form.select ( v ) for i,k in ipairs ( { "name", "size", "tabindex", "accesskey", "onfocus", "onblur", "onchange", "id", - "class", "multiple", "title" + "class", "title" } ) do str = str .. nv_pair ( k, v[k] ) end for i,k in ipairs ( { - "disabled", + "disabled", "multiple" } ) do str = str .. boolean_attribute ( k, v[k] ) end -- cgit v1.2.3