changeset 5872:a9e7ad80340e

special formatters: avoid to create unnecessary output some methods in the base class create html, we need to overwrite them with a method that returns an empty string to not produce unwanted output. these formatters shall just have some special side effect, not create output: groups: determine group members pagelinks: determine page links
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 15 Sep 2012 23:48:07 +0200
parents 2e90d7b58b42
children b8d55e162af5
files MoinMoin/formatter/groups.py MoinMoin/formatter/pagelinks.py
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/formatter/groups.py	Sat Sep 15 17:59:27 2012 +0200
+++ b/MoinMoin/formatter/groups.py	Sat Sep 15 23:48:07 2012 +0200
@@ -67,4 +67,7 @@
     heading = table = null
     table_row = table_cell = attachment_link = attachment_image = attachment_drawing = null
     transclusion = transclusion_param = null
+    macro = lang = anchordef = span = line_anchordef = sysmsg = null
+    startContent = escapedText = line_anchorlink = null
+    div = endContent = anchorlink = interwikilink = null
 
--- a/MoinMoin/formatter/pagelinks.py	Sat Sep 15 17:59:27 2012 +0200
+++ b/MoinMoin/formatter/pagelinks.py	Sat Sep 15 23:48:07 2012 +0200
@@ -28,4 +28,7 @@
     definition_term = definition_desc = heading = table = null
     table_row = table_cell = attachment_link = attachment_image = attachment_drawing = null
     transclusion = transclusion_param = null
+    macro = lang = anchordef = span = line_anchordef = sysmsg = null
+    startContent = escapedText = line_anchorlink = null
+    div = endContent = anchorlink = interwikilink = null