Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Oct 24, 2018
1 parent f625991 commit c3f5168
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion dist/htmlminifier.js
Expand Up @@ -26088,7 +26088,9 @@ function minify(value, options, partialMarkup) {
buffer.push(text);
},
doctype: function(doctype) {
buffer.push(options.useShortDoctype ? '<!doctype html>' : collapseWhitespaceAll(doctype));
buffer.push(options.useShortDoctype ? '<!doctype' +
(options.removeTagWhitespace ? '' : ' ') + 'html>' :
collapseWhitespaceAll(doctype));
},
customAttrAssign: options.customAttrAssign,
customAttrSurround: options.customAttrSurround
Expand Down
2 changes: 1 addition & 1 deletion dist/htmlminifier.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions tests/index.html
Expand Up @@ -3,14 +3,14 @@
<head>
<meta charset="utf-8">
<title>HTML Minifier Tests</title>
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.6.2.css">
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.7.1.css">
</head>
<body>
<div id="qunit">
<button onclick="QUnit.start()">Start</button>
</div>
<div id="qunit-fixture"></div>
<script src="https://code.jquery.com/qunit/qunit-2.6.2.js"></script>
<script src="https://code.jquery.com/qunit/qunit-2.7.1.js"></script>
<script src="../dist/htmlminifier.min.js"></script>
<script src="minifier.js"></script>
</body>
Expand Down

0 comments on commit c3f5168

Please sign in to comment.