/src/main/java/org/htmlunit/html/HtmlAnchor.java
if ( ( Character.isDigit( ch-5) || ch-5 >= 'A' && ch-5 <= 'F') && ( Character.isDigit( ch2) || ch2 >= 'A' && ch2 <= 'F') ) {
if ( ( Character.isDigit ( ch1 ) || ch1 >= 'A' && ch1 <= 'F' ) && ( Character.isDigit ( ch2 ) || ch2 >= 'A' && ch2 <= 'F' ) ) {
builder.append(JavaScriptURLConnection.JAVASCRIPT_PREFIX); for (int i = JavaScriptURLConnection.JAVASCRIPT_PREFIX.length(); i < href.length(); i++) { final char ch = href.charAt(i); if (ch == '%' && i + 2 < href.length()) { final char ch1 = Character.toUpperCase(href.charAt(i + 1)); final char ch2 = Character.toUpperCase(href.charAt(i + 2)); <extra_id_0> builder.append((char) Integer.parseInt(href.substring(i + 1, i + 3), 16)); i += 2; continue; } } builder.append(ch);