Mercurial > genshi > genshi-test
changeset 299:c0a42f62fde5
The `format` parameter and config option was being ignored in the plugin. Thanks to Graham Higgins for reporting the problem.
author | cmlenz |
---|---|
date | Sat, 14 Oct 2006 20:07:08 +0000 |
parents | 793d0af4766c |
children | fb9b66de98b4 |
files | genshi/plugin.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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):