Skip to content

Commit

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

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

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

0 comments on commit 1e15ea0

Please sign in to comment.