creativedutchmen/email_template_manager — pull request #37 by vlad-ghita (2012-01-31 05:33:34+00:00)
Title: Correctly set the headers for PLAIN preview just before raw output.

Debug Devkit is messing with Content-type header thus PLAIN view isn't working properly when HTML view is activated as well.

In this patch, the output is gathered first, then the `Content-type` is set and the output is printed.