Decebal schrieb:
> At the moment I do not want HTML-tags in commentText to work, but if I
> wanted that: how would I do that?
Either append them as DOM nodes, like this:
text = ["hello", BR(), "world"];
appendChildNodes(commentDiv, P({'class' : 'commentText'}, text));
Or use innerHTML, like that:
p = P({'class' : 'commentText'})
p.innerHTML = "hello<br>world"
appendChildNodes(commentDiv", p);
-- Christoph
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---