(el)
| 14010 | // for script (e.g. type="x/template") or style, do not decode content |
| 14011 | //判断标签是否是script或者是style |
| 14012 | function isTextTag(el) { |
| 14013 | return el.tag === 'script' || el.tag === 'style' |
| 14014 | } |
| 14015 | |
| 14016 | //如果是style或者是是script 标签并且type属性不存在 或者存在并且是javascript 属性 的时候返回真 |
| 14017 | function isForbiddenTag(el) { |