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)
how to???
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)
how to???
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