moinformat/macros/toc.py | raw changeset files shortlog |
1.1 --- a/moinformat/macros/toc.py Tue Jul 31 00:00:49 2018 +0200 1.2 +++ b/moinformat/macros/toc.py Tue Jul 31 00:07:22 2018 +0200 1.3 @@ -134,6 +134,7 @@ 1.4 items.append(item) 1.5 1.6 # Replace the macro node's children with the top-level list. 1.7 + # The macro cannot be replaced because it will be appearing inline. 1.8 1.9 self.node.nodes = [lists[0]] 1.10