Attachment 'rhtml.py'
Download 1 # -*- coding: iso-8859-1 -*-
2 """
3 MoinMoin - Raw HTML Parser
4
5 @copyright: 2010 by Chris Martino <chris@console.org>
6 @license: GNU GPL.
7 """
8
9 from MoinMoin.parser._ParserBase import ParserBase
10
11 Dependencies = ['user']
12
13 class Parser(ParserBase):
14
15 parsername = "RawHTML"
16 Dependencies = []
17
18 def __init__(self, raw, request, **kw):
19 self.raw = raw
20 self.request = request
21
22 def format(self, formatter):
23 self.request.write(formatter.rawHTML(self.raw))
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.