• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
 
If you believe you can tell me what to think, I believe I can tell you where to go. Go read this tiny ad!
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!