That appears to go the opposite direction of what I want...
Assume that I have a page like this:
%p
= @x.returns_haml
and @x.returns_haml returns a string like this:
%1
Hi Mom
Then I'd like the resulting HTML to be:
<p>
<1>
Hi Mom
</1>
</p>
What I get now is, not-surprisingly:
<p>
%1
Hi Mom
</p>
On Tuesday, May 29, 2012 4:03:07 PM UTC-7, Norman Clarke wrote:
>
> Look into the :plain filter.
>
> http://haml.info/docs/yardoc/file.HAML_REFERENCE.html#plain-filter
>
> On Tue, May 29, 2012 at 7:58 PM, Kurt Thams <[email protected]> wrote:
>
>> If I want to embed a method call in a HAML page that will return some
>> HAML, and thus I want that returned HAML to be parsed and formatted as
>> embedded HAML, is that possible? How do you do it?
>>
>> --
>> 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/-/r24zDBfhRPwJ.
>> 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.
>>
>
>
--
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/-/DimUzl7iq60J.
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.