2011/12/18 Bartosz Dziewoński <matma....@gmail.com>:
> I don't have time to look thru now, but it doesn't seem to support
> boolean attributes (e.g. `input checked:true` should render <input
> checked="checked" />)? I was very much missing this feature in old
> Markaby, and finally even wrote a patch, as you might remember[1].

That's actually supported. If an attribute is `true` it will use the
attribute name as the value. (so checked: true is the same as checked:
"checked"). Also, false and nil attributes won't be included.
>
> It'd probably be quite easy to add, and after all it was included in
> the latest 0.7.2 version.
>
>
> [1] 
> https://github.com/markaby/markaby/commit/999c418e3c096d2007d18c0a118390bd07d40eb0
>
> -- Matma Rex
> _______________________________________________
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
_______________________________________________
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to