Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
luigi-asprino committed Sep 16, 2024
1 parent ba1abbd commit 6903caa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ public static String fixIRIWithException(String unescapedIRI) {
// escapedIRI = escapedIRI.replaceAll("\\<.*?\\>", "");

// >.*$ from end of lines (Neko didn't quite manage to fix broken markup)
// escapedIRI.substring(0, escapedIRI.lastIndexOf('>'))
escapedIRI = escapedIRI.replaceAll(">.*$", "");
escapedIRI = escapedIRI.substring(0, escapedIRI.lastIndexOf('>'));
// escapedIRI = escapedIRI.replaceAll(">.*$", "");

// Drop the triple if any of these appear in the URL: <>[]|*{}"<>\
if (escapedIRI.contains("<")||escapedIRI.contains(">")||escapedIRI.matches("[\\[\\]|\\*\\{\\}\"\\\\]"))
Expand Down

0 comments on commit 6903caa

Please sign in to comment.