Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/doc/generate.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/doc/generate.js b/tools/doc/generate.js
index af813725326..43e94311ff1 100755
--- a/tools/doc/generate.js
+++ b/tools/doc/generate.js
@@ -86,7 +86,7 @@ function processIncludes(input, cb) {
if (er) return cb(errState = er);
incCount--;
includeData[fname] = inc;
- input = input.split(include).join(includeData[fname]);
+ input = input.split(include+'\n').join(includeData[fname]+'\n');
if (incCount === 0) {
return cb(null, input);
}