StripTagBody
This commit is contained in:
@@ -268,7 +268,7 @@ function onIgnoreTagStripAll () {
|
|||||||
* @param {array} tags 要删除的标签列表
|
* @param {array} tags 要删除的标签列表
|
||||||
* @param {function} next 对不在列表中的标签的处理函数,可选
|
* @param {function} next 对不在列表中的标签的处理函数,可选
|
||||||
*/
|
*/
|
||||||
function StripTagBodyList (tags, next) {
|
function StripTagBody (tags, next) {
|
||||||
if (typeof(next) !== 'function') {
|
if (typeof(next) !== 'function') {
|
||||||
next = function () {};
|
next = function () {};
|
||||||
}
|
}
|
||||||
@@ -324,4 +324,4 @@ exports.clearNonPrintableCharacter = clearNonPrintableCharacter;
|
|||||||
exports.friendlyAttrValue = friendlyAttrValue;
|
exports.friendlyAttrValue = friendlyAttrValue;
|
||||||
exports.escapeAttrValue = escapeAttrValue;
|
exports.escapeAttrValue = escapeAttrValue;
|
||||||
exports.onIgnoreTagStripAll = onIgnoreTagStripAll;
|
exports.onIgnoreTagStripAll = onIgnoreTagStripAll;
|
||||||
exports.StripTagBodyList = StripTagBodyList;
|
exports.StripTagBody = StripTagBody;
|
||||||
|
|||||||
Reference in New Issue
Block a user