With haml 2.0.9 and git trunk:
%div
= precede('*') do
%div> hi there!
Expected results:
<div></div>*<div>hi there!</div>
Actual results:
<div></div>*<div>hi there!</div>
I've peeked at the source code but did not see a 1-minute fix. A valid
workaround, in my case, is to use content_tag() & co.
Hope this helps,
Adam Hooper
--
My Website: http://adamhooper.com
My Blog: http://adamhooper.com/blog
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---