lib/htmlclean.js
function(str, tagInner) {
      tagInner = tagInner
        .replace(/^ +| +$/g, '') // Not .trim() that removes \f.
        .replace(/(?: *\/ +| +\/ *)/g, '/') // Remove whitespaces in </ p> or <br />
        .replace(/ *= */g, '=');
      return '<' + tagInner + '>';
    }
function(str, tagInner) {
      tagInner = tagInner
        .replace(/^ +| +$/g, '') // Not .trim() that removes \f.
        .replace(/(?: *\/ +| +\/ *)/g, '/') // Remove whitespaces in </ p> or <br />
        .replace(/ *= */g, '=');
      return '<' + tagInner + '>';
    }
function ( str , tagInner ) { tagInner = tagInner . replace ( / ^ +| +$ / g , '' ) // Not .trim() that removes \f. . replace ( / (?: *\/ +| +\/ *) / g , '/' ) // Remove whitespaces in </ p> or <br /> . replace ( /  *= * / g , '=' ) ; return '<' + tagInner + '>' ; }
`>` in attributes were already replaced
> in attributes were already replaced