File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ export const OverlaysPlugin = /* #__PURE__ */ plugin({
312312 keyof typeof specialCharacters
313313 >
314314 ) ?. forEach ( ( character : string ) => {
315- layerText = layerText ?. replace (
315+ layerText = layerText ?. replaceAll (
316316 character ,
317317 specialCharacters [ character ] ,
318318 ) ;
Original file line number Diff line number Diff line change @@ -418,8 +418,8 @@ describe("Plugins", () => {
418418
419419 const color = "white" ;
420420 const fontFamily = "Source Sans Pro" ;
421- const text = "Ne xt/Cloud.in,ary" ;
422- const expectedText = "Ne%20xt%252FCloud%252Ein%252Cary" ;
421+ const text = "Ne xt/Cloud.in,, ary" ;
422+ const expectedText = "Ne%20xt%252FCloud%252Ein%252C% 252Cary" ;
423423
424424 const options = {
425425 src : TEST_PUBLIC_ID ,
You can’t perform that action at this time.
0 commit comments