1.1 --- a/moinformat/serialisers.py Mon May 01 23:36:31 2017 +0200
1.2 +++ b/moinformat/serialisers.py Tue May 02 16:39:30 2017 +0200
1.3 @@ -116,6 +116,18 @@
1.4 def end_superscript(self):
1.5 self.out("^")
1.6
1.7 + def start_table_cell(self):
1.8 + pass
1.9 +
1.10 + def end_table_cell(self):
1.11 + self.out("||")
1.12 +
1.13 + def start_table_row(self):
1.14 + self.out("||")
1.15 +
1.16 + def end_table_row(self, trailing):
1.17 + self.out(trailing)
1.18 +
1.19 def start_underline(self):
1.20 self.out("__")
1.21
1.22 @@ -226,6 +238,18 @@
1.23 def end_superscript(self):
1.24 self.out("</sup>")
1.25
1.26 + def start_table_cell(self):
1.27 + self.out("<td>")
1.28 +
1.29 + def end_table_cell(self):
1.30 + self.out("</td>")
1.31 +
1.32 + def start_table_row(self):
1.33 + self.out("<tr>")
1.34 +
1.35 + def end_table_row(self, trailing):
1.36 + self.out("</tr>")
1.37 +
1.38 def start_underline(self):
1.39 self.out("<span style='text-decoration: underline'>")
1.40