Attachment 'GuiEditorBreaksIndentedTable.patch'
Download
Toggle line numbers
1 diff -r fecec62aa2a7 MoinMoin/converter/text_html_text_moin_wiki.py
2 --- a/MoinMoin/converter/text_html_text_moin_wiki.py Sun Jan 18 12:54:54 2009 +0100
3 +++ b/MoinMoin/converter/text_html_text_moin_wiki.py Sun Jan 18 22:31:53 2009 +0100
4 @@ -614,6 +614,7 @@
5 if i.nodeType == Node.ELEMENT_NODE:
6 if i.localName == 'table':
7 markup = " "
8 + indent = " "
9 else:
10 markup = "* "
11 elif name == 'dl':
12 @@ -649,7 +650,10 @@
13 name = i.localName
14 if name == 'li':
15 before, indent, markup = self._get_list_item_markup(node, i)
16 - self.text.extend([before, indent, markup])
17 + if markup == " ": # table node returns markup of " "
18 + self.text.extend([before, indent])
19 + else:
20 + self.text.extend([before, indent, markup])
21 self.process_list_item(i, indent)
22 elif name in ('ol', 'ul', ):
23 self.process_list(i)
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.