Commit 72e5f938 authored by Evan Simpson's avatar Evan Simpson

Write boolean attributes out, like checked="checked".

parent 7dae640f
...@@ -383,8 +383,7 @@ class TALInterpreter: ...@@ -383,8 +383,7 @@ class TALInterpreter:
if ok: if ok:
if value is None: if value is None:
value = name value = name
else: value = "%s=%s" % (name, quote(value))
value = "%s=%s" % (name, quote(value))
return ok, name, value return ok, name, value
bytecode_handlers["<attrAction>"] = attrAction bytecode_handlers["<attrAction>"] = attrAction
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment