Edit function now outputs HTML only

For some reason my new action works fine but my edit outputs nothing
but raw HTML. Anyone have any ideas?

Chris H. wrote:

For some reason my new action works fine but my edit outputs nothing
but raw HTML. Anyone have any ideas?

You’d normally want raw HTML output. What’s the problem?

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

To the screen? It is not interpreting the html, I get

DATA


instead
of a large header on the screen. I am using a partial for the new/edit
and
the new works fine.

On Sun, Jul 19, 2009 at 9:15 AM, Marnen Laibow-Koser <

Chris H. wrote:

To the screen? It is not interpreting the html, I get

DATA


instead
of a large header on the screen.

Oh, now I understand. It’s probably getting output with the wrong MIME
type, so that the browser doesn’t know it’s HTML. Check the extensions
on your view files.

If that’s not the issue, perhaps you’re escaping HTML somewhere in the
view that you shouldn’t be. Use your browser’s View Source command to
check.

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]