fix for deadlock in new encoder :-(

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5296 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 17 years ago
parent 0edec2b760
commit 49293c1358

@ -244,19 +244,17 @@ public class htmlFilterCharacterCoding {
continue;
}
s = text.substring(p, q + 1);
p = q + 1;
if (s.equals(amp_html)) {
sb.append(amp_unicode);
p = q + 1;
continue;
}
if ((r = html2unicode4xml.get(s)) != null) {
sb.append(r.charValue());
p = q + 1;
continue;
}
if ((r = html2unicode4html.get(s)) != null) {
sb.append(r);
p = q + 1;
continue;
}
// the entity is unknown, skip it

Loading…
Cancel
Save