Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

handling html  RSS feed

 
Maharaj thak
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
I am using fck editor plugin.If some body enters some info like

<p>This is my first time here</p>

I want to actually display it a s a paragraph.But if I do something like

texttodisplay.encodeAsHTML()
It shows me
<p>This is my first time here</p>

how can i avoid this

Regards
Mauji Thak
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
don't call encodeAsHTML() on the property.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!