moinformat/parsers/common.py | raw changeset files shortlog |
1.1 --- a/moinformat/parsers/common.py Mon Jul 16 19:19:31 2018 +0200 1.2 +++ b/moinformat/parsers/common.py Tue Jul 17 19:19:59 2018 +0200 1.3 @@ -407,7 +407,7 @@ 1.4 1.5 # Obtain any feature. 1.6 1.7 - feature = self.match_group() 1.8 + feature = self.match_group("feature") or self.match_group() 1.9 handler = self.handlers.get(self.matching_pattern()) 1.10 1.11 # Handle each feature or add text to the region.