Skip to content

Commit

Permalink
fix(ui): use less permissive regex (#1046)
Browse files Browse the repository at this point in the history
  • Loading branch information
timonback authored Nov 1, 2024
1 parent dc6c3eb commit c75f158
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export class SidenavComponent implements OnInit, AfterViewInit {

private splitForWordBreaking = (text: string) => {
// Split by set of characters, but keep separators
return text.split(/(?<=[.,-_/])/);
return text.split(/(?<=[.,_/\-])/);
};

ngAfterViewInit() {
Expand Down

0 comments on commit c75f158

Please sign in to comment.