Sanitizing file names to avoid conflicts on Windows.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-12-14 13:54:32 -05:00
parent c5ebe99e34
commit d25f274289

View File

@ -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)
]