Updated Plugins (markdown)
parent
e5c8c08e91
commit
4940713499
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ ol li .message {
|
||||||
|
|
||||||
``` js
|
``` js
|
||||||
// show the URIs instead of the names
|
// show the URIs instead of the names
|
||||||
$('ol li a.name').each(function (i, e) {
|
$('a.name, h1 a').each(function (i, e) {
|
||||||
e.title = e.innerHTML
|
e.title = e.innerHTML
|
||||||
e.innerHTML = '^' + e.href.replace(/^http(s)?:\/\//i,'').replace(/\/$/,'')
|
e.innerHTML = '^' + e.href.replace(/^http(s)?:\/\//i,'').replace(/\/$/,'')
|
||||||
})
|
})
|
||||||
|
|
Reference in a new issue