Skip to content

Commit 2fdc649

Browse files
committed
bug fixed
1 parent 0c910af commit 2fdc649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/vendor/plugins/autolink/autolink.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
re.lastIndex = 0;
2727
var results = re.exec(node.textContent);
2828
if(results !== null) {
29-
if($(node).parents().filter('pre>code').length === 0) {
29+
if($(node).parents().filter('code').length === 0) {
3030
$(node).replaceWith(
3131
$('<span />').html(
3232
node.nodeValue.replace(re, '<a href="$1">$1</a>')

0 commit comments

Comments
 (0)