You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-21 23:17:42 +02:00
Clean up unused optional parameter
This commit is contained in:
@ -119,9 +119,8 @@ const markdownUtils = {
|
|||||||
return title.replace(filterRegex, '').replace(mdLinkRegex, '$1').replace(emptyMdLinkRegex, '$1').substring(0,80);
|
return title.replace(filterRegex, '').replace(mdLinkRegex, '$1').replace(emptyMdLinkRegex, '$1').substring(0,80);
|
||||||
},
|
},
|
||||||
|
|
||||||
stripMarkdown(text, options = { gfm: false }) {
|
stripMarkdown(text) {
|
||||||
// Removes Markdown syntax elements from the given text
|
return removeMarkdown(text, { gfm: false });
|
||||||
return removeMarkdown(text, options);
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user