changeset 1758:4b85e6506535

remove 'generated' attribute from pagelink html output (ported from 1.5-791)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 30 Jan 2007 21:36:23 +0100
parents d4f3fc3f0afc
children 7c2e5eb299b6
files MoinMoin/formatter/text_html.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/formatter/text_html.py	Tue Jan 30 21:07:19 2007 +0100
+++ b/MoinMoin/formatter/text_html.py	Tue Jan 30 21:36:23 2007 +0100
@@ -491,6 +491,8 @@
             See wikiutil.link_tag() for possible keyword parameters.
         """
         FormatterBase.pagelink(self, on, pagename, page, **kw)
+        if 'generated' in kw:
+            del kw['generated']
         if page is None:
             page = Page(self.request, pagename, formatter=self)
         if self.request.user.show_nonexist_qm and on and not page.exists():