Escape Entire View output?

Jim Jones <rails-mailing-list@...> writes:

What is the easiest way to escape an entire (or partial) view output?
I have an entire section of output that needs to be escaped to be
inserted into an RSS description section, and am looking for the
easiest way to accomplish this.

It sounds like you just want to use a CDATA section. Markup inside an XML
CDATA section isn't parsed, take a look at the docs for however you're
generating the XML

Gareth