Force to add "rel=nofollow" to anchor on displayJournal() when constants "journal_force_nofollow" has set.
@@ -666,7 +666,7 @@ | ||
666 | 666 | |
667 | 667 | my $stripped_article = balanceTags(strip_mode($article->[1], $article->[4]), { deep_nesting => 1 }); |
668 | 668 | $stripped_article = noFollow($stripped_article) |
669 | - unless $karma > $constants->{goodkarma}; | |
669 | + unless $karma > $constants->{goodkarma} && !$constants->{journal_force_nofollow}; | |
670 | 670 | |
671 | 671 | # should get comment count, too -- pudge |
672 | 672 | push @{$collection->{article}}, { |