node_modules/html-util/lib/index.js
// linebreak between HTML tag attributes and maintain conditional comments.
linebreak between HTML tag attributes and maintain conditional comments.
linebreak between HTML tag attributes and maintain conditional comments .
function minify(html) {
  var minified = ''
    , minifyContent = true
  parse(html, {
    start: function(tag, tagName, attrs) {
      minifyContent = !('x-no-minify' in attrs)
      minified += trimTag(tag)
    }
  , end: function(tag) {
      minified += trimTag(tag)
    }
  , text: function(text) {
      minified += minifyContent ? trimText(text) : text
    }
  , comment: function(tag) {
      if (isConditionalComment(tag)) minified += tag
    }
  , other: function(tag) {
      minified += tag
    }
  })
  return minified
}
function minify ( html ) { var minified = '' , minifyContent = true parse ( html , { start : function ( tag , tagName , attrs ) { minifyContent = ! ( 'x-no-minify' in attrs ) minified += trimTag ( tag ) } , end : function ( tag ) { minified += trimTag ( tag ) } , text : function ( text ) { minified += minifyContent ? trimText ( text ) : text } , comment : function ( tag ) { if ( isConditionalComment ( tag ) ) minified += tag } , other : function ( tag ) { minified += tag } } ) return minified }
linebreak between HTML tag attributes and maintain conditional comments.
linebreak between HTML tag attributes and maintain conditional comments .