diff --git a/.gitattributes b/.gitattributes index f3760d287..0de8645d3 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,6 +2,7 @@ * text=auto builds/* -text +index.html -text # Custom for Visual Studio *.cs diff=csharp diff --git a/tools/markdown.js b/tools/markdown.js index e4db7decf..720f0a783 100644 --- a/tools/markdown.js +++ b/tools/markdown.js @@ -6,4 +6,5 @@ var md = fs.readFileSync('README.md', 'utf8'); var content = marked(md); var template = fs.readFileSync('template.jst', 'utf8'); var output = _.template(template)({content: content}); +output = output.replace(/\r\n/g, '\n'); fs.writeFileSync('test.html', output);