stage3systems/node-html5-purifier

View on GitHub
lib/html_parser/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function parsePurified has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function parsePurified(htmlInput, prefix, postfix, cb) {
  async.waterfall([
    // remove invalid pcdata, ie) <![if mso ...]>
    function(cb) {
      pcdataValidator.filter(htmlInput, cb);
Severity: Minor
Found in lib/html_parser/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status