You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-26 22:41:17 +02:00
Electron: Prevent URLs added via A tag from being opened inside app
This commit is contained in:
@@ -206,4 +206,8 @@ function toTitleCase(string) {
|
||||
return string.charAt(0).toUpperCase() + string.slice(1);
|
||||
}
|
||||
|
||||
function urlDecode(string) {
|
||||
return decodeURIComponent((string+'').replace(/\+/g, '%20'));
|
||||
}
|
||||
|
||||
module.exports = { removeDiacritics, escapeFilename, wrap, splitCommandString, padLeft, toTitleCase };
|
||||
Reference in New Issue
Block a user