slug update
This commit is contained in:
@@ -57,6 +57,6 @@ public class Article {
|
||||
}
|
||||
|
||||
private String toSlug(String title) {
|
||||
return title.toLowerCase().replace(' ', '-');
|
||||
return title.toLowerCase().replaceAll("[\\&|[\\uFE30-\\uFFA0]|\\’|\\”|\\s\\?\\,\\.]+", "-");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user