moinformat/serialisers/html/moin.py | raw changeset files shortlog |
1.1 --- a/moinformat/serialisers/html/moin.py Mon Jul 01 22:23:25 2019 +0200 1.2 +++ b/moinformat/serialisers/html/moin.py Mon Jul 01 22:30:20 2019 +0200 1.3 @@ -321,8 +321,8 @@ 1.4 key, value = key_value 1.5 self.out("%s='%s'" % (key, escape_attr(value))) 1.6 1.7 - def rule(self, length): 1.8 - self.out("<hr style='height: %dpt' />" % min(length, 10)) 1.9 + def rule(self, height): 1.10 + self.out("<hr style='height: %dpt' />" % min(height, 10)) 1.11 1.12 def table_attrs(self, nodes): 1.13