changeset 3248:2ea14aac1a35

Blacklist navigation macro
author Mikko Virkkil? <mvirkkil@cc.hut.fi>
date Thu, 13 Mar 2008 11:06:11 +0100
parents c715d62efc50
children 7f08481de945
files MoinMoin/formatter/text_docbook.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/formatter/text_docbook.py	Thu Mar 13 10:49:35 2008 +0100
+++ b/MoinMoin/formatter/text_docbook.py	Thu Mar 13 11:06:11 2008 +0100
@@ -38,7 +38,7 @@
     # this list is extended as the page is parsed. Could be optimized by adding them here?
     section_should_break = ['abstract', 'para', 'emphasis']
 
-    blacklisted_macros = ('TableOfContents', 'ShowSmileys')
+    blacklisted_macros = ('TableOfContents', 'ShowSmileys', 'Navigation')
 
     # If the current node is one of the following and we are about the emit
     # text, the text should be wrapped in a paragraph