True, but it only displays the ]]>, at least on chrome, ff nothing. Is there a way I can include a heredoc into the haml? I could then escape it and it should display properly.
On Dec 10, 12:37 pm, Nathan Weizenbaum <[email protected]> wrote: > For me, the code you give prints > > <![CDATA[ > <?xml version="1.0" encoding="UTF-8"?> > ]]> > > which is expected and should do what you want. > > > > On Thu, Dec 9, 2010 at 6:29 PM, Karl <[email protected]> wrote: > > Yes, escape it, sorry for the typo. > > > I tried-- > > :cdata > > <?xml version="1.0" encoding="UTF-8"?> > > > The resulting html-- > > ]]> > > > Am I missing something? > > > -- > > 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] <haml%[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 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.
