On 10 Oct 2007, at 05:46, subicura wrote:
>
> source)
> xml.list {xml.cdata! "test"}
> result)
> <list>
> <![CDATA[test]]>
> </list>
>
>
> but I want to
> <list><![CDATA[test]]></list>
> (because firefox don''t understand first result)
>
This seems a little odd, but if you really need to you''ll have to
hack rails/actionpack/lib/action_view/base.rb and change
xml = Builder::XmlMarkup.new(:indent => 2)
to
xml = Builder::XmlMarkup.new()
Fred
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---