Skip to content

Commit

Permalink
fixes #24710
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Jun 2, 2021
1 parent 435dde4 commit cc95217
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-]+/g, '' )
.replace( /[^\w-]+/gu, '' )
.toLowerCase(),
'-'
);
Expand Down

0 comments on commit cc95217

Please sign in to comment.