On 9/19/07, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
>
> %meta{:name => "description", :content =>
> @page.resource.property.short_description}/
>
> The attributes are a plain old Ruby hash, and that slash at the end
> indicates that it's a self-closing tag.

The meta tag is actually a special case. Haml knows that it needs to
be self-closing (unless you've changed your Haml settings), so that
slash at the end is unnecessary. (Not problematic, just redundant.)

-- 
Chris Boone, Hypsometry
http://hypsometry.com/

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