Obvious/matador — Issue #18: Nested partials cause error
Author: lashleigh
Created: 2012-01-18 02:36:45+00:00
State: open

Hi,

I found that it isn't possible to nest partials without getting an error. Is nesting partials something that most people don't do, or is this a bug that could be fixed?
Thank you

DEBUG: Error: Closing tag without opener: /stuff
at buildTree (/Users/lash/code/nodeThings/recipe/node_modules/matador/node_modules/hogan.js/lib/compiler.js:199:17)
at Object.parse (/Users/lash/code/nodeThings/recipe/node_modules/matador/node_modules/hogan.js/lib/compiler.js:318:12)
at Object.compile (/Users/lash/code/nodeThings/recipe/node_modules/matador/node_modules/hogan.js/lib/compiler.js:345:38)
at Object. (/Users/lash/code/nodeThings/recipe/node_modules/matador/src/matador.js:23:37)
at ServerResponse._render (/Users/lash/code/nodeThings/recipe/node_modules/matador/node_modules/express/lib/view.js:425:21)
at ServerResponse.render (/Users/lash/code/nodeThings/recipe/node_modules/matador/node_modules/express/lib/view.js:318:17)
at fn.render (/Users/lash/code/nodeThings/recipe/node_modules/matador/src/BaseController.js:30:21)
at fn.index (/Users/lash/code/nodeThings/recipe/app/controllers/RecipeController.js:6:12)
at /Users/lash/code/nodeThings/recipe/node_modules/matador/src/router.js:26:20
at f (/Users/lash/code/nodeThings/recipe/node_modules/matador/node_modules/valentine/valentine.js:469:20)