fix(indentForMarkdown) extra trailing spaces on last line.

This commit is contained in:
Jay Traband 2015-09-18 15:35:12 -07:00
parent a30fddadd0
commit 49496e4ce9
2 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@ www
.DS_Store
.idea
**/js/latest/api

View File

@ -44,9 +44,9 @@ module.exports = function(encodeCodeBlock) {
newLines.pop();
}
}
// force character to be a newLine.
if (newLines.length > 0) newLines.push('');
var res = newLines.join('\n');
return res;
}
};