This seems to do the opposite of what I want....

Maybe an example would help:

%p
  @x.returns_haml

Where @x.returns_haml evaluates to the following string:
  %one
    Hello Mom

I would want the HTML to be

<p>
  <one>
    Hello Mom
  </one>
</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 <kurt.th...@gmail.com> 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 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.
>>
>
>

-- 
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/-/mNZ8srAibGcJ.
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