All the documentation is generated from the Haml source code. This
particular bit is in lib/haml/html.rb. I've just pushed a fix, though, so no
submission is necessary.

On Fri, Mar 12, 2010 at 5:55 PM, xrd <[email protected]> wrote:

> 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] <haml%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>
>

-- 
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