1.1 --- a/moinformat/serialisers.py Sat Apr 29 23:04:30 2017 +0200
1.2 +++ b/moinformat/serialisers.py Sun Apr 30 01:43:33 2017 +0200
1.3 @@ -57,10 +57,10 @@
1.4 def end_heading(self, level, pad, extra):
1.5 self.out(pad + "=" * level + extra)
1.6
1.7 - def start_listitem(self):
1.8 - self.out(" *")
1.9 + def start_listitem(self, indent, marker, space):
1.10 + self.out("%s%s%s" % (indent * " ", marker, space))
1.11
1.12 - def end_listitem(self):
1.13 + def end_listitem(self, indent, marker):
1.14 pass
1.15
1.16 def rule(self, length):
1.17 @@ -104,10 +104,10 @@
1.18 def end_heading(self, level, pad, extra):
1.19 self.out("</h%d>" % level)
1.20
1.21 - def start_listitem(self):
1.22 + def start_listitem(self, indent, marker, space):
1.23 self.out("<li>")
1.24
1.25 - def end_listitem(self):
1.26 + def end_listitem(self, indent, marker):
1.27 self.out("</li>")
1.28
1.29 def rule(self, length):