Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

not allowing to insert special charactors HTMLDocument insertHTML ()

 
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!