Skip to content

Commit

Permalink
Keep if statement after replacing
Browse files Browse the repository at this point in the history
  • Loading branch information
jedenastka committed Feb 6, 2024
1 parent 1df841b commit 86162b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/textEmoji/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default definePlugin({
find: ",findInlineEmojisFromSurrogates:",
replacement: {
match: /if\(!0!==.{1,2}&&!.{1,2}\.test\(.{1,2}\)\)/,
replace: "",
replace: "if(true)",
},
},
],
Expand Down

0 comments on commit 86162b3

Please sign in to comment.