If it's _that_ big a deal just define a helper method
def my_html
'<html attributes="your/special/order">'
end
and call that from the layout/template
= my_html
but. personally, I'd let such a small thing slide. Since there's absolutely
no importance given to the order of attributes. Alphabetical seems as
logical as anything.
RSL
On 5/22/07, Hugh Evans <[EMAIL PROTECTED]> wrote:
>
>
> Hi, I'm only starting out with HAML but I've noticed that my
> attributes are being put in alphabetical order rather than the order
> I've entered them:
>
> %html{'xmlns'=>'http://www.w3.org/1999/xhtml', 'xml:lang'=>'en',
> 'lang'=>'en'}
>
> Becomes:
>
> <html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
>
> No big deal but just doesn't look right.
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---