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

not allowing to insert special charactors HTMLDocument insertHTML ()  RSS feed

 
Aniruddha Jadhao
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
I want to allow special charactrs to get inserted in HTMLDocument of JtextPane like > < .
I know I can encode them by ;> & ;<
But What if i want to insert a <img src='blabla' > , here the tags of img will also get replaced.
How can we handle this situation?

thanks
Ani
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!