mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Make newline formatting explicit.
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user