From 18fdb6643729dcad6d9b696e144e121f8500a689 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Thu, 3 Jan 2013 12:15:30 +0100 Subject: [PATCH] Update jsdoc template to be compatible with latest version of jsdoc3 --- doc/template/publish.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/template/publish.js b/doc/template/publish.js index 5a0eb1ff81..dbea28edb7 100644 --- a/doc/template/publish.js +++ b/doc/template/publish.js @@ -71,7 +71,7 @@ function generate(title, docs, filename) { html = helper.resolveLinks(html); // turn {@link foo} into foo - fs.writeFileSync(outpath, html); + fs.writeFileSync(outpath, html, 'utf8'); } /** @@ -378,7 +378,7 @@ exports.publish = function(taffyData, opts, tutorials) { // yes, you can use {@link} in tutorials too! html = helper.resolveLinks(html); // turn {@link foo} into foo - fs.writeFileSync(tutorialPath, html); + fs.writeFileSync(tutorialPath, html, 'utf8'); } // tutorials can have only one parent so there is no risk for loops