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' }
|
{ #category : #'*MiniDocs' }
|
||||||
LePage >> exportedFileName [
|
LePage >> exportedFileName [
|
||||||
| sanitized |
|
| sanitized |
|
||||||
sanitized := self title asDashedLowercase copyWithoutAll: #($/).
|
sanitized := self title asDashedLowercase copyWithoutAll: #($/ $:).
|
||||||
^ sanitized , '--' , (self uidString copyFrom: 1 to: 5)
|
^ sanitized , '--' , (self uidString copyFrom: 1 to: 5)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user