Make newline formatting explicit.

This commit is contained in:
John-David Dalton
2016-07-04 11:52:31 -07:00
parent d7b2f922b5
commit 5394bbf06a

View File

@@ -24,7 +24,7 @@ function build(type) {
$a.replaceWith($a.html());
});
var html = $.html().replace(/(<)!--\s*|\s*--(>)/g, '$1$2');
var html = _.trim($.html().replace(/(<)!--\s*|\s*--(>)/g, '$1$2'));
html = [
'---',
@@ -33,6 +33,7 @@ function build(type) {
'title: Lodash Documentation',
'version: ' + (version || null),
'---',
'',
html,
].join('\n');