Skip to content

Commit

Permalink
Update package_info.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kalramanoj2002 authored Dec 12, 2019
1 parent b73be12 commit 76a5157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/package_info.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ PackageInfo.prototype._getHeaderFooter = function(json) {
var content = fs.readFileSync(filename, 'utf8');
result[key] = {
title : json[key].title,
content: app.markdown ? app.markdown(content) : content
content: app.markdown ? app.markdown.render(content) : content
};
} catch (e) {
throw new Error('Can not read: ' + filename + '.');
Expand Down

0 comments on commit 76a5157

Please sign in to comment.