1.1 --- a/moinformat/tree/moin.py Fri Jun 03 21:54:37 2022 +0200
1.2 +++ b/moinformat/tree/moin.py Sun Dec 11 23:58:02 2022 +0100
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Moin wiki format document tree nodes.
1.6
1.7 -Copyright (C) 2017, 2018, 2019, 2020, 2021 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2017, 2018, 2019, 2020, 2021, 2022 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -778,6 +778,19 @@
1.13 def to_string(self, out):
1.14 out.linebreak()
1.15
1.16 +class NonBreakingSpace(Node):
1.17 +
1.18 + "A non-breaking space within a block."
1.19 +
1.20 + def __repr__(self):
1.21 + return "NonBreakingSpace()"
1.22 +
1.23 + def prettyprint(self, indent=""):
1.24 + return "%sNonBreakingSpace" % indent
1.25 +
1.26 + def to_string(self, out):
1.27 + out.nbsp()
1.28 +
1.29 class Rule(Node):
1.30
1.31 "A horizontal rule."