From 815169383ee94ebcdb4805c40eefdba521f410bd Mon Sep 17 00:00:00 2001 From: isaacs Date: Sat, 17 Mar 2012 11:07:28 -0700 Subject: [PATCH] Fix include logic was replacing https include with http --- tools/doc/generate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/doc/generate.js b/tools/doc/generate.js index af81372532..43e94311ff 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); }