Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double compilation when capturing #337

merged 3 commits into from Sep 29, 2013


None yet
2 participants
Copy link

commented Sep 20, 2013

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.


This comment has been minimized.

Copy link
Member Author

commented Sep 21, 2013

If anyone has a good idea for how to write a decent test for this, let me know. ;)


This comment has been minimized.

Copy link

commented Sep 29, 2013


ddfreyne added a commit that referenced this pull request Sep 29, 2013

@ddfreyne ddfreyne merged commit 28221d2 into release-3.6.x Sep 29, 2013

@ddfreyne ddfreyne deleted the bug/double-compilation-when-capturing branch Sep 29, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.