nanoc/nanoc — pull request #336 by ddfreyne (2013-09-20 10:38:11+00:00)
Title: Double compilation when capturing

This fixes #331.

The problem is that the current implementation recompiles the content twice, which in the case of Haml means that compiled Haml content (i.e. HTML) gets interpreted as Haml and recompiled, which will fail because HTML is not Haml, hence the “nesting within plain text is illegal” error.