Mercurial Hosting > luan
changeset 1291:2bbc6f132d61
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 02 Jan 2019 21:54:35 -0700 |
parents | fb802d8aba0b |
children | a6892dcf5659 |
files | src/luan/modules/Html.luan |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
diff -r fb802d8aba0b -r 2bbc6f132d61 src/luan/modules/Html.luan --- 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) %><%