mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
commit
7abc4e8825
@ -370,7 +370,7 @@ define([
|
||||
|
||||
// Locate any URLs and convert them to a anchor tag
|
||||
function autoLinkUrls(txt) {
|
||||
return txt.replace(/(^|\s)(https?|ftp)(:[^'">\s]+)/gi,
|
||||
return txt.replace(/(^|\s)(https?|ftp)(:[^'"<>\s]+)/gi,
|
||||
"$1<a target=\"_blank\" href=\"$2$3\">$2$3</a>");
|
||||
}
|
||||
|
||||
|
@ -684,7 +684,7 @@ define([
|
||||
img.addClass('unconfined');
|
||||
}
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
var set_width_height = function (img, md, mime) {
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user