mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Ensure proper tags are generated. (#2465)
This commit is contained in:
committed by
John-David Dalton
parent
6b0069f10f
commit
af36d2d8e5
@@ -24,7 +24,7 @@ function build(type) {
|
||||
header.remove();
|
||||
html = html.html();
|
||||
html = html.replace(/<!--\s*/g, '<');
|
||||
html = html.replace(/-->/g, '>');
|
||||
html = html.replace(/\s*-->/g, '>');
|
||||
|
||||
html = [
|
||||
'---',
|
||||
@@ -40,4 +40,4 @@ function build(type) {
|
||||
fs.writeFile(path.join(docPath, `${version}.html`), html, onComplete);
|
||||
}
|
||||
|
||||
build();
|
||||
build();
|
||||
|
||||
Reference in New Issue
Block a user