String currString = encodedString.string();
if (currString.startsWith(imageTag) ||
currString.startsWith(inputTag)) {
return true;
}
byte[] bytes = encodedString.bytes(AWCharacterEncoding.UTF8);
for (int i=0, count=bytes.length; i < count; i++) {
char c = (char)bytes[i];
if (c == '<') {
nesting++;
} else if (c == '>') {