From 37d98f5b1ab9121ab2dc61765843f04876cb6b20 Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Mon, 14 Jun 2010 07:01:27 -0400 Subject: [PATCH] Use "lenient" lookup with genshi per http://lists.planetplanet.org/archives/devel/2010-June/002127.html props to Christopher Schmidt. --- planet/shell/_genshi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planet/shell/_genshi.py b/planet/shell/_genshi.py index 5dffab2..fb2a998 100644 --- a/planet/shell/_genshi.py +++ b/planet/shell/_genshi.py @@ -68,7 +68,7 @@ def run(script, doc, output_file=None, options={}): context = Context(**options) tmpl_fileobj = open(script) - tmpl = MarkupTemplate(tmpl_fileobj, script) + tmpl = MarkupTemplate(tmpl_fileobj, script, lookup="lenient") tmpl_fileobj.close() if not output_file: