changeset 5444:48874d70abff

accept rel attr for links
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 17 Jan 2010 12:29:02 +0100
parents 8588b6292d9f
children 2b641be7728c
files MoinMoin/parser/text_moin_wiki.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/parser/text_moin_wiki.py	Sun Jan 17 12:26:58 2010 +0100
+++ b/MoinMoin/parser/text_moin_wiki.py	Sun Jan 17 12:29:02 2010 +0100
@@ -852,7 +852,7 @@
         target = groups.get('link_target', '')
         desc = groups.get('link_desc', '') or ''
         params = groups.get('link_params', u'') or u''
-        acceptable_attrs = ['class', 'title', 'target', 'accesskey', ] # no style because of JS
+        acceptable_attrs = ['class', 'title', 'target', 'accesskey', 'rel', ] # no style because of JS
         mt = self.link_target_re.match(target)
         if mt:
             if mt.group('page_name'):