# HG changeset patch # User cmlenz # Date 1160856428 0 # Node ID 5b1d5460fe257008a436ac06f62c5452f5bcd3bd # Parent d87b76fdaebbb60a17aad7cbbe1d80e227dfb8a3 The `format` parameter and config option was being ignored in the plugin. Thanks to Graham Higgins for reporting the problem. diff --git a/genshi/plugin.py b/genshi/plugin.py --- a/genshi/plugin.py +++ b/genshi/plugin.py @@ -79,7 +79,7 @@ def render(self, info, format=None, fragment=False, template=None): """Render the template to a string using the provided info.""" - kwargs = self._get_render_options() + kwargs = self._get_render_options(format=format) return self.transform(info, template).render(**kwargs) def transform(self, info, template):