This is an automated email from the ASF dual-hosted git repository.

gcruz pushed a commit to branch gc/8420
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/gc/8420 by this push:
     new acdb490  fixup! fixup! 8420 added nofollow to links generated by 
Markdown syntax and side menu in wiki
acdb490 is described below

commit acdb49071405e3d24fe6cb2d262e0c93a7c34e60
Author: Guillermo Cruz <[email protected]>
AuthorDate: Thu Mar 24 11:12:51 2022 -0600

    fixup! fixup! 8420 added nofollow to links generated by Markdown syntax and 
side menu in wiki
---
 ForgeWiki/forgewiki/wiki_main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ForgeWiki/forgewiki/wiki_main.py b/ForgeWiki/forgewiki/wiki_main.py
index 617e537..180d3ea 100644
--- a/ForgeWiki/forgewiki/wiki_main.py
+++ b/ForgeWiki/forgewiki/wiki_main.py
@@ -277,7 +277,7 @@ The wiki uses [Markdown](%s) syntax.
         if not admin_menu:
             links += [SitemapEntry(''),
                       SitemapEntry('Formatting Help', '/nf/markdown_syntax',
-                                   extra_html_attrs={'target': '_blank'})]
+                                   extra_html_attrs={'target': '_blank', 
'rel': 'nofollow'})]
         return links
 
     def admin_menu(self, skip_common_menu=False):

Reply via email to