First of all: I must say that TG is a very nice framework. Sure, there is a
learningcurve and a get used to. But it goes smoothly.
What most impressed me: I had been working with a JavaScript library to get
AJAX working. Worked on the desktop, but not on my mobile (Nokia E90). What
I made (not much yet, I agree) does work in fetching data from the server.

Now to my problem.
In a widget I use the following JavaScript:
    thisComment = result.comments[i].commentText.replace(/\n/g, "<br/>\n");
    appendChildNodes(commentDiv, P({'class' : 'commentText'}, thisComment));

The problem is that the <br/> shows up as text on my page instead of
generating a newline. What is happening here?

-- 
Cecil Westerhof

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to