Hi there,

On this page:

http://haml-lang.com/docs/yardoc/Haml/HTML.html

It suggests this code does this:

Haml::Engine.new("<a href='http://google.com'>Blat</a>").render
  #=> "%a{:href => 'http://google.com'} Blat"

This is not correct.  The code should be:

Haml::HTML.new( "<a href='http://google.com'>Blat</a>" ).to_haml
  #=> "%a{:href => 'http://google.com'} Blat"

Is this the proper place to submit these types of errors?  I don't see
any place on the haml site to submit errors.

Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to