You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
Desktop, Cli: Fixes #5325: Fixed file paths when exporting as HTML
This commit is contained in:
@@ -28,6 +28,7 @@ describe('pathUtils', function() {
|
||||
expect(!!friendlySafeFilename('...')).toBe(true);
|
||||
|
||||
// Check that it optionally handles filenames with extension
|
||||
expect(friendlySafeFilename('file', null, true)).toBe('file');
|
||||
expect(friendlySafeFilename(' testing.md', null, true)).toBe('testing.md');
|
||||
expect(friendlySafeFilename('testing.safe??ext##', null, true)).toBe('testing.safeext');
|
||||
expect(friendlySafeFilename('thatsreallylongthatsreallylongthatsreallylongthatsreallylongthatsreallylongthatsreallylongthatsreallylongthatsreallylongthatsreallylongthatsreallylongthatsreallylongthatsreallylongthatsreallylongthatsreallylongthatsreallylongthatsreallylongthatsreallylongthatsreallylong.md', null, true)).toBe('thatsreallylongthatsreallylongthatsreallylongthats.md');
|
||||
|
||||
Reference in New Issue
Block a user