Mercurial Hosting > luan
diff src/luan/modules/Html.luan @ 1291:2bbc6f132d61
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 02 Jan 2019 21:54:35 -0700 |
parents | bae2d0c2576c |
children | 9dca1e912658 |
line wrap: on
line diff
--- a/src/luan/modules/Html.luan Wed Jan 02 15:47:55 2019 -0700 +++ b/src/luan/modules/Html.luan Wed Jan 02 21:54:35 2019 -0700 @@ -30,8 +30,7 @@ local function output_tag(tag) %><<%= tag.name %><% - local attributes = tag.attributes - for name, value in pairs(attributes) do + for name, value in pairs(tag.attributes) do %> <%= name %><% if value ~= true then %>=<%= quote(value) %><%