Sfoglia il codice sorgente

bug fixed

tags/v1.3.0-rc1
Lunny Xiao 6 anni fa
parent
commit
caa61a2b99
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      public/vendor/plugins/autolink/autolink.js

+ 1
- 1
public/vendor/plugins/autolink/autolink.js Vedi File

@@ -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…
Annulla
Salva