审核规避词+敏感词skill
This commit is contained in:
1 parent
a9552b3d1a
commit
f05a11f0f3
14 files changed
+79
-29
No files matched your search
@@ -278,7 +278,7 @@ DomHandler.prototype.onopentag = function(name, attrs) {
|
||||
attrs.source = [];
|
||||
if (attrs.src) attrs.source.push(attrs.src);
|
||||
if (!attrs.controls && !attrs.autoplay)
|
||||
console.warn('存在没有controls属性的' + name + '标签,可能导致无法播放', attrs);
|
||||
console.warn(name + ' 标签缺少 controls 属性,可能无法正常使用', attrs);
|
||||
this._bubbling();
|
||||
break;
|
||||
case 'source':
|
||||
@@ -322,4 +322,4 @@ DomHandler.prototype.onclosetag = function(name) {
|
||||
siblings.pop();
|
||||
}
|
||||
};
|
||||
module.exports = DomHandler;
|
||||
module.exports = DomHandler;
|
||||
Reference in new issue
Block a user