I think I'm experiencing the same thing.

using

def code_keep
    html_escape(yield)
end

doesn't escape the content of the block

but

def code_keep(&block)
    html_escape(capture_haml(&block))
end

does.

Does this look familiar?

On Friday, 25 November 2011 00:55:42 UTC, scottwb wrote:
>
> I'm still using that workaround. I never came to any resolution or
> heard anything from anyone else on the subject, and sorta moved on
> since I had a working solution and more pressing things. I might go
> back and take a look at my code now and at least start tracking the
> issue you filed.
>
> On Nov 24, 3:34 pm, SimonC <si...@deadbadger.net> wrote:
> > Hi Scott,
> >
> > I've been experiencing exactly the same issue - and like you, only in
> > production. Did you ever resolve this, or are you still using the
> > haml_concat(capture_haml(...)) workaround? I was about to submit an issue
> > to the github repo when I happened across this thread, so would be
> > interested to hear if there was any resolution...
> >
> > Cheers,
> > Simon
>

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/haml/-/R1_oSv5y9OEJ.
To post to this group, send email to haml@googlegroups.com.
To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to