Sanitizing file names to avoid conflicts on Windows.
This commit is contained in:
parent
c5ebe99e34
commit
d25f274289
@ -94,7 +94,7 @@ LePage >> detectParentSnippetWithUid: uidString [
|
||||
{ #category : #'*MiniDocs' }
|
||||
LePage >> exportedFileName [
|
||||
| sanitized |
|
||||
sanitized := self title asDashedLowercase copyWithoutAll: #($/).
|
||||
sanitized := self title asDashedLowercase copyWithoutAll: #($/ $:).
|
||||
^ sanitized , '--' , (self uidString copyFrom: 1 to: 5)
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user