Parsing of Textarea with html content -


i work jsoup1.6.2.jar. consider following code.

string data = "<textarea><table><tr><td>look @ following elements</td></tr></table></textarea>";  document doc = jsoup.parse(data);  system.out.println(doc);   

output:

<html>  <head></head>  <body>   <textarea>&lt;table&gt;&lt;tr&gt;&lt;td&gt;look @ following elements&lt;/td&lt;/tr&lt;/table</textarea>  </body> </html>   

why missing &gt self closing tags? encountered problem textarea far. can me this?

you can't put table inside text area. there's mistake


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -