Hi all.

I have some text I read in from an uploaded file using
scala.io.Source. I then have something like

<div>
  {(str.split("\n").map(x => <div>{x}</div>))}
</div>

with str some portion of text from the input file containing HTML
formatting tags like <i> or <b>.

Now, characters like < are being escaped to their proper entities
&lt;. However, I want these to display as actual HTML (e.g. want
<i>foo</i> to be italic). Is there a straightforward way to do this?

(Note that security isn't an issue since this is a feature only admins
will be using).

Thanks much.

-KP

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to