fix write method in html.py: pass output method in recusive call

svn: r12269
This commit is contained in:
Gerald Britton 2009-03-09 13:38:50 +00:00
parent eb4d7917a4
commit ff4f97e368

View File

@ -112,7 +112,7 @@ class Html(list):
else:
for item in self[:]:
if isinstance(item, Html):
item.write(tabs=tabs)
item.write(method=method, tabs=tabs)
else:
method('%s%s' % (tabs, item))
#