<a>"There is a nothing special <<string>> haha"</a>
のようなHTML形式のテキストがあります。より大きい(>)およびより小さい(<)記号を含むテキストを取得するための構文解析
<<
と>>
を含む完全なテキストを取得したいので、出力はThere is a nothing special <<string>> haha
のようになります。
私は
Elements e = element.select("a");
String text = e.text();
を行っていたが、出力はThere is a nothing special <> haha
です。
印刷する場合e.html()
、それは私がそれを修正するにはどうすればよい
There is a nothing special <
<string>
>haha
</string>
でしょうか?