so ... ruby has discovered the value of whitespaces... but in the
wrong place!. Whitespaces are important in HTML and I am not convinced
haml allows you insert whitespaces in html.

Anyway, it is a nice idea but not fo newbies.

I do not understand why this syntax:

.item{:id => expr}= item.body (ruby)
.item{'id': expr}= item.body (python)

instead of straight jQuery-like syntax which would work on both

.item[id=exp] = item.body



On Dec 20, 8:58 am, Ross Peoples <ross.peop...@gmail.com> wrote:
> HamlPy is actually really cool. I've never heard or seen anything about it
> until now. It's like CSS syntax for making HTML so you don't have to write
> so much HTML code. If you can get something together to make it work with
> web2py, you could probably get it added to contrib.

Reply via email to