Attachment 'html.py'
Download 1 """
2 MoinMoin - HTML Text Parser
3
4 Copyright (c) 2001 by Christian Bird <chris.bird@lineo.com>
5 All rights reserved, see COPYING for details.
6 Changed to run with Version 1.3.1 [Revision patch-434], MatthiasMohr
7 """
8 class Parser:
9 """
10 Send HTML code raw
11 """
12
13 def __init__(self, raw, request, **kw):
14 self.html = raw
15 self.request = request
16
17 def format(self, formatter):
18 """ Send the "parsed" text.
19 """
20 #this is pretty easy since converting HTML to HTML is a no-brainer
21 self.request.write(self.html)
22
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.