mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-04 20:14:57 +08:00
Fix mailto URLs in markdown cells
This commit is contained in:
parent
9535e9e536
commit
93b2dd269b
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ function rehypeExternalLinks(options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function isAbsoluteUrl(url) {
|
function isAbsoluteUrl(url) {
|
||||||
return /^(?:[a-z]+:)?\/\//i.test(url);
|
return /^([a-z]+:|\/\/)/i.test(url);
|
||||||
}
|
}
|
||||||
|
|
||||||
function isPageAnchor(url) {
|
function isPageAnchor(url) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue