witten
/
luminotes
Archived
1
0
Fork 0

Fixed a bug in which the filename of an exported HTML file was just "export" instead of being based on the notebook name.

This commit is contained in:
Dan Helfman 2009-03-16 15:09:33 -07:00
parent a40bda5d3d
commit bbd0328858
2 changed files with 3 additions and 2 deletions

3
NEWS
View File

@ -1,5 +1,6 @@
1.6.9: ?
*
* Fixed a bug in which the filename of an exported HTML file was just
"export" instead of being based on the notebook name.
1.6.8: March 3, 2009
* You can now print your entire notebook. Just click the "print" link on the

View File

@ -18,7 +18,7 @@ class Html_file( Html ):
contents = self.IMAGE_PATTERN.sub( '', contents )
relinked_notes[ note.object_id ] = contents
response_headers[ u"Content-Disposition" ] = u"attachment; filename=%s.html" % notebook and notebook.friendly_id
response_headers[ u"Content-Disposition" ] = u"attachment; filename=%s.html" % ( notebook and notebook.friendly_id )
Html.__init__(
self,