fix: 粘贴转换不完全

This commit is contained in:
yanmao 2021-12-13 18:05:59 +08:00
parent b3f87da776
commit c46845d865
1 changed files with 6 additions and 1 deletions

View File

@ -138,7 +138,12 @@ class Parser implements ParserInterface {
// 替换
node.before(newNode);
node.remove();
return newNode;
//排除之前的过滤规则后再次过滤
value = conversion.transform(
newNode,
(r) => oldRules.indexOf(r) < 0,
);
continue;
}
}
//排除之前的过滤规则后再次过滤