We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c0da6b commit 54ba4ddCopy full SHA for 54ba4dd
src/main.ts
@@ -377,10 +377,10 @@ export default class ReadwiseMirror extends Plugin {
377
lowercase: this.settings.slugifyLowercase,
378
})
379
: // ... else filenamify the title
380
- `${filenamify(title.replace(/:/g, this.settings.colonSubstitute ?? '-'), {
+ filenamify(title.replace(/:/g, this.settings.colonSubstitute ?? '-'), {
381
replacement: ' ',
382
maxLength: 255,
383
- })}` // Ensure we remove additional critical characters, replace multiple spaces with one, and trim
+ }) // Ensure we remove additional critical characters, replace multiple spaces with one, and trim
384
.replace(/[<>"'\/\\|?*#]+/g, '')
385
.replace(/ +/g, ' ')
386
.trim();
0 commit comments