fix: remove lookahead
Some checks failed
Sync to Codeberg / codeberg (push) Has been cancelled
test / test (push) Has been cancelled

This commit is contained in:
ryana mittens 2024-09-11 23:25:17 +08:00
parent bcf9a030f6
commit c0c76298c8

View file

@ -45,7 +45,7 @@ export default definePlugin({
{ {
find: ".embedWrapper,embed", find: ".embedWrapper,embed",
replacement: [{ replacement: [{
match: /\.container(?=.+?this)/g, match: /\.container/,
replace: "$&+(this.props.channel.nsfw? ' vc-nsfw-img': '')" replace: "$&+(this.props.channel.nsfw? ' vc-nsfw-img': '')"
}] }]
}, },