Update markdown processing to handle more cases

This commit is contained in:
Andrew Miner
2015-03-24 19:05:13 -07:00
parent 4a45be71f9
commit d964047974
3 changed files with 50 additions and 4 deletions
@@ -89,7 +89,7 @@ module.exports = class TutorialPageController extends BaseController
for section in @model.sections
controller = @_sectionControllers[index]
if not controller?
controller = new MarkdownSectionController title:section.title, model:section.content
controller = new MarkdownSectionController title:section.title, model:section.content, modPack:@modPack
@_sectionControllers.push controller
@$sectionsContainer.append controller.$el
controller.render()