That was very simple, thank you for the help.

-Alex


On Jun 2, 11:00 pm, Rhett Sutphin <[email protected]> wrote:
> Hi Alex,
>
> On Jun 2, 2009, at 9:55 PM, alexanderkahn wrote:
>
> > I want to put a meta tag in my document like so:
>
> > %meta{:http-equiv => 'Content-Type', :content => 'text/
> > html;charset=utf8'}
>
> %meta{:'http-equiv' => 'Content-Type', :content => 'text/
> html;charset=utf8'}
>
> > It appears that :http-equiv doesn't work, though, because of the dash.
> > Is this a bug? Is this a Ruby issue having to do with symbols? How can
> > I work around this?
>
> It's a ruby syntax issue.  Unquoted symbols have to be valid tokens.
>
> Rhett
--~--~---------~--~----~------------~-------~--~----~
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