Class XTokenQueue is mostly borrowed from jsoup's TokenQueue per its doc comments.
It imports internal util class StringUtil from jsoup and uses two methods from it.
StringUtil's doc comments says "designed for internal jsoup use only". It's probably
safer to have a local copy of these simple methods, as done in this PR.
Class XTokenQueue is mostly borrowed from jsoup's TokenQueue per its doc comments. It imports internal util class StringUtil from jsoup and uses two methods from it. StringUtil's doc comments says "designed for internal jsoup use only". It's probably safer to have a local copy of these simple methods, as done in this PR.