OK, I see why this is happening. the {exp} in the NodeSeq convert exp
to a String. So I did by creating a string and then converting it to a
NodeSeq at the end. Is there a way to do this without using and
intermediary string?

On Oct 21, 1:03 am, jack <jack.wid...@gmail.com> wrote:
> I have the following method display. source.body has html tags in it
> but the actual tags are showing instead of being evaluated. e.g. I'm
> seeing things like '<b>Hey There</b>' instead of 'Hey There' in bold.
> This method is in a CometActor and is running when the page is
> rendered. Am I missing something obvious?
>
>  def display(sources:List[Source]):NodeSeq = {
>
>     <span id="joop"><table>
>     {
>        for {source <- sources} yield <tr><td>{source.body}</td></tr>
>     }
>
>     </table>
>     </span>
>   }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to