瀏覽代碼

bug fixed

tags/v1.3.0-rc1
Lunny Xiao 6 年之前
父節點
當前提交
caa61a2b99
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      public/vendor/plugins/autolink/autolink.js

+ 1
- 1
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(
$('<span />').html(
node.nodeValue.replace(re, '<a href="$1">$1</a>')

Loading…
取消
儲存