#105 htmlfill doesnt respect prefix_error=False for file elements

open
nobody
None
5
2010-06-20
2010-06-20
Anonymous
No

normally the part for file element in input handle function looks like this:
elif t == 'file':
pass # don't skip next
i changed it to this:
elif t == 'file':
self.write_tag('input', attrs, startend)
self.skip_next = True
self.add_key(name)

now when i pass prefix_error=False, then error is printed after actual element, original version of code always gets the error rendered in front of file element

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks