Skip to content

Commit 1335b53

Browse files
committed
Add nofollow to external links
1 parent cc5e3b8 commit 1335b53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/_core/Marked.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ InlineLexer.prototype.outputLink = function(cap, link) {
714714
href: this.sanitizeUrl(link.href),
715715
title: link.title,
716716
target: shouldOpenInNewWindow ? '_blank' : null,
717-
rel: shouldOpenInNewWindow ? 'noopener noreferrer' : null
717+
rel: shouldOpenInNewWindow ? 'nofollow noopener noreferrer' : null
718718
}, this.output(cap[1]));
719719
} else {
720720
return React.DOM.img({

0 commit comments

Comments
 (0)