Attachment 'writer_fix.patch'
Download 1 --- rst.orig 2006-05-03 09:23:07.000000000 -0700
2 +++ rst.py 2006-05-03 09:25:06.000000000 -0700
3 @@ -165,6 +165,11 @@ class MoinWriter(html4css1.Writer):
4 self)
5 self.document.walkabout(visitor)
6 self.visitor = visitor
7 + # Docutils 0.5.0 and later require the writer to have the visitor
8 + # attributes.
9 + if (hasattr(html4css1.Writer, 'visitor_attributes')):
10 + for attr in html4css1.Writer.visitor_attributes:
11 + setattr(self, attr, getattr(visitor, attr))
12 self.output = html_escape_unicode(visitor.astext())
13
14 class Parser:
15 @@ -189,6 +194,7 @@ class Parser:
16 'file_insertion_enabled': 0,
17 'raw_enabled': 0,
18 'stylesheet_path': '',
19 + 'template': '',
20 }
21 )
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.