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:
parent
583ac7960b
commit
b81b6135f6
@ -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 });
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user