1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Clean up unused optional parameter

This commit is contained in:
Laurent Cozic 2020-06-08 09:05:03 +01:00
parent 583ac7960b
commit b81b6135f6

View File

@ -119,9 +119,8 @@ const markdownUtils = {
return title.replace(filterRegex, '').replace(mdLinkRegex, '$1').replace(emptyMdLinkRegex, '$1').substring(0,80);
},
stripMarkdown(text, options = { gfm: false }) {
// Removes Markdown syntax elements from the given text
return removeMarkdown(text, options);
stripMarkdown(text) {
return removeMarkdown(text, { gfm: false });
},
};