Skip to content

Commit

Permalink
fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Jun 2, 2021
1 parent f545226 commit ae9f15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/utils/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function cleanForSlug( string ) {
return trim(
deburr( string )
.replace( /[\s\./]+/g, '-' )
.replace( /[^\w-]+/gu, '' )
.replace( /[^\p{L}\p{N}_-]+/gu, '' )
.toLowerCase(),
'-'
);
Expand Down

0 comments on commit ae9f15f

Please sign in to comment.