changeset 121:dd7181c021de

Add rel=nofollow to links in markdown.
author Edho Arief <edho@myconan.net>
date Mon, 12 Nov 2012 14:38:32 +0700
parents 309238f5b7b1
children a836cfe4092f
files app/assets/javascripts/init.tabs.js
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/app/assets/javascripts/init.tabs.js	Mon Nov 12 14:35:19 2012 +0700
+++ b/app/assets/javascripts/init.tabs.js	Mon Nov 12 14:38:32 2012 +0700
@@ -4,6 +4,7 @@
 
     $('#markdown div').html(marked(raw));
     $('#markdown div pre').addClass('prettyprint');
+    $('#markdown div a').prop('rel', 'nofollow');
 
     $('#highlight pre').text(raw);