On Tue, Apr 14, 2009 at 4:56 PM, Johnny X <jonathanwel...@gmail.com> wrote:

>
> Hey,
>
>
> One of the fields returned from my queries (Content) is essentially the
> body
> of an e-mail. However, it's returned as one long stream of text (or at
> least, that's how it appears on the web page). Viewing the source of the
> page it appears with the right layout characteristics (paragraphs, name at
> end of message separate from main message etc.)
>
> Is there anyway of making it appear this way on the web page, or is this
> just a browser specific thing?
>
>
I think you'd need to convert line break characters in the returned string
into equivalent html tags yourself before displaying. You could also try
displaying them in a '<pre>' tag and see if it looks ok.

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to