I actually mis-remembered the semantics of the method call. However, I 
think allowing these methods to take blocks would be useful, so I just 
committed it to trunk.

- Nathan

jallen wrote:
> Thanks Nathan!
>
> Your exact syntax didn't work for me - find_and_preserve doesn't take
> a block arg (at least on my version). So instead, I wrote:
>
> - s = capture do
>   :markdown
>     stuff
> = find_and_preserve s
>
> This _did_ solve my indentation problem. I'd rather use your syntax
> though - is there a trick?
>
> >
>
>   


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