mirror of
https://github.com/typecho/typecho.git
synced 2025-01-17 20:48:42 +01:00
update hyperdown
This commit is contained in:
parent
d7a48ce086
commit
cb4778d6c4
File diff suppressed because one or more lines are too long
@ -413,7 +413,7 @@
|
||||
matches = 1 <= arguments.length ? slice.call(arguments, 0) : [];
|
||||
url = _this.cleanUrl(matches[2]);
|
||||
link = _this.call('parseLink', url);
|
||||
return matches[1] + "<a href=\"" + link + "\">" + matches[2] + "</a>" + matches[5];
|
||||
return matches[1] + "<a href=\"" + url + "\">" + link + "</a>" + matches[5];
|
||||
};
|
||||
})(this));
|
||||
}
|
||||
|
@ -545,7 +545,7 @@ class HyperDown
|
||||
function ($matches) use ($self) {
|
||||
$url = $self->cleanUrl($matches[2]);
|
||||
$link = $self->call('parseLink', $url);
|
||||
return "{$matches[1]}<a href=\"{$link}\">{$matches[2]}</a>{$matches[5]}";
|
||||
return "{$matches[1]}<a href=\"{$url}\">{$link}</a>{$matches[5]}";
|
||||
},
|
||||
$text
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user