stage3systems/node-html5-purifier

View on GitHub
lib/html_parser/attribute_validator/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function validate has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function validate(htmlInput, cb) {
  var outputCache = [];

  // TODO: move this out to a private function, where base sanitizer can extend from
  var omit = function(node) {
Severity: Minor
Found in lib/html_parser/attribute_validator/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status