JTidy java API toConvert HTML to XHTML
I am using JTidy to convert from HTML to XHTML but I found in my XHTML file this tag . Can i prevent it ? this is my code //from html to xhtml try { fis = new FileInputStream(htmlFileName); } catch (java.io.FileNotFoundException e) { System.out.println("File not found: " + htmlFileName); } Tidy tidy = new Tidy(); tidy.setShowWarnings(false); tidy.setXmlTags(false); tidy.setInputEncoding("UTF-8"); tidy.setOutputEncoding("UTF-8"); tidy.setXHTML(true);// tidy.setMakeClean(true); Document xmlDoc = tidy.parseDOM(fis, null); try { tidy.pprint(xmlDoc,new FileOutputStream("c.xhtml")); } catch