Skip to content

Commit ed7c9ad

Browse files
author
Peter McCluskey
committed
Add rel="nofollow" to text message URLs
1 parent a3c3d63 commit ed7c9ad

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Changelog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Version Changes for Hypermail
22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
Peter McCluskey (Mar 27, 2006)
4+
Add rel="nofollow" to text message URLs (option txtsuffix = 1).
5+
36
Peter McCluskey (Mar 14, 2006)
47
Fixed a core dump with linkquotes = 1 caused by Daigo's changes.
58

src/print.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2227,7 +2227,7 @@ void writearticles(int startnum, int maxnum)
22272227
fprintf(fp, "</div>\n");
22282228

22292229
if (set_txtsuffix) {
2230-
fprintf(fp, "<p><a href=\"%.4d.%s\">%s</a>", email->msgnum, set_txtsuffix, lang[MSG_TXT_VERSION]);
2230+
fprintf(fp, "<p><a rel=\"nofollow\" href=\"%.4d.%s\">%s</a>", email->msgnum, set_txtsuffix, lang[MSG_TXT_VERSION]);
22312231
}
22322232

22332233
printfooter(fp, mhtmlfooterfile, set_label, set_dir, email->subject, filename, FALSE);

0 commit comments

Comments
 (0)