This commit is contained in:
Douglas Campos
2011-01-12 01:00:01 -02:00
parent 2dbb4e9fa7
commit 0a1ecde7b6
+1 -1
View File
@@ -316,7 +316,7 @@ module Gollum
%{<a class="internal #{presence}" href="#{link}#{extra}">#{name}</a>}
end
if tag && no_follow
tag.sub! /^<a/, '<a ref="nofollow"'
tag.sub! /^<a/, '<a rel="nofollow"'
end
tag
end