From: Scott Worley Date: Sun, 5 Aug 2012 05:34:18 +0000 (-0700) Subject: Links should be rel="nofollow" X-Git-Url: http://git.scottworley.com/reliable-chat/commitdiff_plain/606c01e1686143ff77d03c07a890e01a8f1b6054?ds=sidebyside;hp=66b29e97f7f07d34df3b903ac13c81e5cb005fa2 Links should be rel="nofollow" Though if this ever becomes relevant, something else has gone wrong. --- diff --git a/webclient/rc.html b/webclient/rc.html index 01dc168..3b92348 100644 --- a/webclient/rc.html +++ b/webclient/rc.html @@ -230,6 +230,7 @@ text_span.appendChild(document.createTextNode(leading_text)); } var anchor = document.createElement("a"); + anchor.setAttribute("rel", "nofollow"); anchor.setAttribute("href", encodeURI(match[0])); anchor.appendChild(document.createTextNode(match[0])); text_span.appendChild(anchor);