I read an html file,and write part of it in JEditorPane, then I get the text of JEditorPane. what I get by getText from JEditorPane has some more tags which do not exist in the original html file(which I have read first). Is this normal or I am doing something wrong? is there any way to get rid of it?