htmlfill removes last closing tag?
Graham Stratton <gns24-ChQETwBkFSdCgCasaBwmdgC/[email protected]>
| Newsgroups | gmane.comp.python.formencode |
|---|---|
| Message-ID | <[email protected]> |
Hi,
htmlfill keeps eating my last close tag if it isn't follow by a
newline. So:
>>> htmlfill.render('<html><body></body></html>',{},{})
'<html><body></body>'
>>> htmlfill.render('<html><body></body></html>\n',{},{})
'<html><body></body></html>'
>>> htmlfill.render('<select name="fred"><option value=1>No Choice</
option></select>',{},{})
'<select name="fred"><option value="1">No Choice</option>'
>>> htmlfill.render('<input type="text">',{},{})
'<input type="text" value="">'
Is this a bug or am I not using it correctly?
Thanks,
Graham
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/