1.1 --- a/moinformat/serialisers/html/moin.py Mon Apr 15 23:50:00 2019 +0200
1.2 +++ b/moinformat/serialisers/html/moin.py Mon Apr 15 23:53:32 2019 +0200
1.3 @@ -60,6 +60,12 @@
1.4 out("type-%s" % escape_attr(type or "opaque"))
1.5
1.6 tag = self._region_tag(type)
1.7 +
1.8 + # Inline regions must preserve "indent" as space in the text.
1.9 +
1.10 + if type == "inline" and indent:
1.11 + self.out(" " * indent)
1.12 +
1.13 self.out("<%s class='%s'>" % (tag, " ".join(l)))
1.14
1.15 def end_region(self, level, indent, type, extra):