Skip to content

Commit

Permalink
Merge pull request #51 from kalramanoj2002/fix/header-footer
Browse files Browse the repository at this point in the history
Fix header/footer
  • Loading branch information
fsbahman authored Dec 18, 2019
2 parents b1462f0 + 76a5157 commit 6cc1bf7
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 6cc1bf7

Please sign in to comment.