StripTagBody

This commit is contained in:
Zongmin Lei
2014-02-13 17:56:18 +08:00
parent 68c26f28b9
commit a6caa0ddcc

View File

@@ -268,7 +268,7 @@ function onIgnoreTagStripAll () {
* @param {array} tags 要删除的标签列表
* @param {function} next 对不在列表中的标签的处理函数,可选
*/
function StripTagBodyList (tags, next) {
function StripTagBody (tags, next) {
if (typeof(next) !== 'function') {
next = function () {};
}
@@ -324,4 +324,4 @@ exports.clearNonPrintableCharacter = clearNonPrintableCharacter;
exports.friendlyAttrValue = friendlyAttrValue;
exports.escapeAttrValue = escapeAttrValue;
exports.onIgnoreTagStripAll = onIgnoreTagStripAll;
exports.StripTagBodyList = StripTagBodyList;
exports.StripTagBody = StripTagBody;