Merge pull request #20507 from taras/tm/fix-safari-pre-16.3-compatibility

extractInitials without Regex lookbehind for Safari <16.3 compatibility
This commit is contained in:
Fredrik Adelöw
2023-10-17 13:38:10 +02:00
committed by GitHub
4 changed files with 25 additions and 11 deletions
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/core-components': patch
---
Fixed compatibility with Safari <16.3 by eliminating RegEx lookbehind in `extractInitials`.
This PR also changed how initials are generated resulting in _John Jonathan Doe_ => _JD_ instead of _JJ_.