You can use a standard xml-style response, but use Unparsed to embed unparsed
(and possibly malformatted) XML as a string.
-Ross
On Dec 26, 2009, at 12:53 AM, tommycli wrote:
I'm using custom dispatch (to handle both XML media files). Often, I
will want to send a page that contains user-inputted (X)HTML. This
will often be malformed HTML that is nevertheless rendered fine by a
modern browser.
How would I send this through? I tried PlainTextResponse, but it sends
the wrong mime type and shows up as well... plaintext. And
XHtmlResponse requires valid XHTML.
Is there any response that sends a String and claims that it's (x)
html?
--
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en.
--
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en.