Skip to content

Commit

Permalink
Use \i in second patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jedenastka committed Feb 6, 2024
1 parent 54c9564 commit b445138
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 @@ -38,7 +38,7 @@ export default definePlugin({
{
find: ",findInlineEmojisFromSurrogates:",
replacement: {
match: /if\(!0!==.{1,2}&&!.{1,2}\.test\(.{1,2}\)\)/,
match: /if\(!0!==\i&&!\i\.test\(\i\)\)/,
replace: "if(true)",
},
},
Expand Down

0 comments on commit b445138

Please sign in to comment.