Attachment 'wikisnl.py'
Download 1 # -*- coding: iso-8859-1 -*-
2
3 import re
4 from MoinMoin.parser import wiki
5
6 class Parser(wiki.Parser):
7 """
8 We do almost the same, just not drop single newlines
9 """
10 nld = re.compile(r"\r?\n")
11 def format(self, formatter):
12 """
13 Format
14 """
15 self.raw = self.nld.sub("\n\n",self.raw)
16 wiki.Parser.format(self, formatter)
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.