Tagsoup , tag as text to another tag
hello guys i hope this message finds you all well.
So my questions has to do with tagsoup , what i want to achieve is to have a tag as a text of another tag, in specific , i want the <a href="http://twitt开发者_如何学Goer.com/devices" rel="nofollow">
to be the TEXT of the tag <SOURCE>
, but i cannot seem to do it since each time it sees an open pointy bracket it interprets that as a new tag. So is there any way to perform this ?
Thanks in advance.
How about using >
and <
instead of >
and <
? Or just using some library to html-escape the the text?
Edit: see for example Recommended method for escaping HTML in Java
精彩评论