Skip to content

Commit

Permalink
Convert _ to -
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarvelle committed Nov 27, 2024
1 parent 4986c4b commit 94933be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/no/ndla/taxonomy/util/PrettyUrlUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ private static String cleanString(String name) {
.replaceAll("[čĉć]", "c")
.replaceAll("[üùũú]", "u")
.replaceAll("1D45-B7C5", "d")
.replaceAll("[–:,]", "-")
.replaceAll("[–:,_]", "-")
.trim();
}

Expand Down

0 comments on commit 94933be

Please sign in to comment.