You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Applied prettier to code base
This commit is contained in:
@ -1,16 +1,14 @@
|
||||
const markdownUtils = {
|
||||
|
||||
// Not really escaping because that's not supported by marked.js
|
||||
escapeLinkText(text) {
|
||||
return text.replace(/(\[|\]|\(|\))/g, '_');
|
||||
return text.replace(/(\[|\]|\(|\))/g, "_");
|
||||
},
|
||||
|
||||
escapeLinkUrl(url) {
|
||||
url = url.replace(/\(/g, '%28');
|
||||
url = url.replace(/\)/g, '%29');
|
||||
url = url.replace(/\(/g, "%28");
|
||||
url = url.replace(/\)/g, "%29");
|
||||
return url;
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
module.exports = { markdownUtils };
|
||||
module.exports = { markdownUtils };
|
||||
|
Reference in New Issue
Block a user