From 2fdc6492025e6916e0883931db76454422df431c Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 4 Sep 2017 14:28:50 +0800 Subject: [PATCH] bug fixed --- public/vendor/plugins/autolink/autolink.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/vendor/plugins/autolink/autolink.js b/public/vendor/plugins/autolink/autolink.js index 039cd7db2..2993954ab 100644 --- a/public/vendor/plugins/autolink/autolink.js +++ b/public/vendor/plugins/autolink/autolink.js @@ -26,7 +26,7 @@ re.lastIndex = 0; var results = re.exec(node.textContent); if(results !== null) { - if($(node).parents().filter('pre>code').length === 0) { + if($(node).parents().filter('code').length === 0) { $(node).replaceWith( $('').html( node.nodeValue.replace(re, '$1')