Mercurial > genshi > mirror
changeset 299:5b1d5460fe25 trunk
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 | d87b76fdaebb |
children | 6ad1e2221d55 |
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):