fix write method in html.py: pass output method in recusive call
svn: r12269
This commit is contained in:
parent
eb4d7917a4
commit
ff4f97e368
@ -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))
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user