Fix XHTML validation
parent
dad89fb2b7
commit
28bf85e967
|
@ -111,7 +111,7 @@ CHLOE: form
|
||||||
|
|
||||||
STRING: button-tag-markup
|
STRING: button-tag-markup
|
||||||
<t:form class="inline" xmlns:t="http://factorcode.org/chloe/1.0">
|
<t:form class="inline" xmlns:t="http://factorcode.org/chloe/1.0">
|
||||||
<button type="submit"></button>
|
<div><button type="submit"></button></div>
|
||||||
</t:form>
|
</t:form>
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@ CHLOE: button
|
||||||
button-tag-markup string>xml body>>
|
button-tag-markup string>xml body>>
|
||||||
{
|
{
|
||||||
[ [ attrs>> chloe-attrs-only ] dip add-tag-attrs ]
|
[ [ attrs>> chloe-attrs-only ] dip add-tag-attrs ]
|
||||||
[ [ attrs>> non-chloe-attrs-only ] dip "button" tag-named add-tag-attrs ]
|
[ [ attrs>> non-chloe-attrs-only ] dip "button" deep-tag-named add-tag-attrs ]
|
||||||
[ [ children>> ] dip "button" tag-named (>>children) ]
|
[ [ children>> ] dip "button" deep-tag-named (>>children) ]
|
||||||
[ nip ]
|
[ nip ]
|
||||||
} 2cleave compile-chloe-tag ;
|
} 2cleave compile-chloe-tag ;
|
||||||
|
|
Loading…
Reference in New Issue