This repository has been archived on 2023-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
2009-02-19 07:52:18 +00:00
|
|
|
from Html_file import Html_file
|
|
|
|
|
|
|
|
|
|
|
|
def export( database, notebook, notes, response_headers ):
|
|
|
|
"""
|
|
|
|
Format the given notes as an HTML file by relying on controller.Expose.expose() to use Html_file
|
|
|
|
as the view.
|
|
|
|
"""
|
|
|
|
return dict(
|
|
|
|
notebook = notebook,
|
|
|
|
notes = notes,
|
2009-03-03 00:39:08 +00:00
|
|
|
response_headers = response_headers,
|
2009-02-19 07:52:18 +00:00
|
|
|
view = Html_file,
|
|
|
|
manual_encode = u"utf8",
|
|
|
|
)
|