I'm using HAML to generate a XML output. Inside one of the element I'm
using the :markdown filter to generate a small block of HTML code (for
example, an unordered list of items).
!!! XML
%root
%child
:markdown
* item 1
* item 2
* item 3
Is it possible to wrap this generated HTML with a CDATA so that the
XML file is valid?
<root>
<child><![CDATA[
<ul>
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
</ul>
]]></child>
</root>
Thanks!
--
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.