getnikola/nikola — pull request #1439 by FelixSchwarz (2014-10-05 08:17:01+00:00)
Title: fix Mako template rendering in render_template_to_string()

`context` is a `dict`, `dict.update` returns `None`, so `.render(**None)` explodes.

The problem was introduced in 5e3be31a. What suprised me was that render_template_to_string() is not used anywhere in Nikola and doesn't seem to have any automated tests since its introduction in 170577fc.