1.1 --- a/moinformat.py Thu Apr 27 18:43:31 2017 +0200
1.2 +++ b/moinformat.py Thu Apr 27 18:54:12 2017 +0200
1.3 @@ -334,9 +334,9 @@
1.4
1.5 # Obtain text before any marker or the end of the input.
1.6
1.7 - match_text = items.read_until(["break", "marker"])
1.8 - if match_text:
1.9 - block.append(Text(match_text))
1.10 + preceding = items.read_until(["break", "marker"])
1.11 + if preceding:
1.12 + block.append(Text(preceding))
1.13
1.14 # Obtain any feature.
1.15
1.16 @@ -393,9 +393,9 @@
1.17
1.18 # Obtain text before any marker or the end of the input.
1.19
1.20 - match_text = items.read_until(["marker"])
1.21 - if match_text:
1.22 - region.append(Text(match_text))
1.23 + preceding = items.read_until(["marker"])
1.24 + if preceding:
1.25 + region.append(Text(preceding))
1.26
1.27 # Obtain any marker.
1.28