not allowing to insert special charactors HTMLDocument insertHTML ()
posted 9 years ago
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?