Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Fixed issue with double processing of includes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Totten committed Jul 22, 2015
1 parent 5dda372 commit 7d26434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/markdocs/app.js
Expand Up @@ -191,7 +191,7 @@ App.prototype._get = function(request, response, next) {
var idoc = self._docsByFilename[file + '.md'];
if (idoc) {
//TODO: async
var sections = idoc.processSections(response.locals);
var sections = idoc.getSections();
return sections[section];
} else {
return file;
Expand Down

0 comments on commit 7d26434

Please sign in to comment.