1.1 --- a/moinformat/themes/mercurial/css/all.css Mon Jul 01 22:30:28 2019 +0200
1.2 +++ b/moinformat/themes/mercurial/css/all.css Sun Jul 07 23:44:22 2019 +0200
1.3 @@ -52,11 +52,6 @@
1.4 border: 1pt solid #ADB9CC;
1.5 }
1.6
1.7 -td p {
1.8 - margin: 0;
1.9 - padding: 0;
1.10 -}
1.11 -
1.12 /* Preformatted text. */
1.13
1.14 pre {
2.1 --- a/moinformat/tree/moin.py Mon Jul 01 22:30:28 2019 +0200
2.2 +++ b/moinformat/tree/moin.py Sun Jul 07 23:44:22 2019 +0200
2.3 @@ -64,7 +64,12 @@
2.4
2.5 "Return the container to which inline nodes are added."
2.6
2.7 - return self
2.8 + last = self.node(-1)
2.9 +
2.10 + if isinstance(last, Block):
2.11 + return last
2.12 + else:
2.13 + return self
2.14
2.15 def empty(self):
2.16 return not self.nodes