소스 검색

bug fixed

tags/v1.3.0-rc1
Lunny Xiao 6 년 전
부모
커밋
caa61a2b99
No account linked to committer's email address
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…
취소
저장