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