From d25f27428930f67dc8afc76076f46ed780c934c5 Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Wed, 14 Dec 2022 13:54:32 -0500 Subject: [PATCH] Sanitizing file names to avoid conflicts on Windows. --- src/MiniDocs/LePage.extension.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MiniDocs/LePage.extension.st b/src/MiniDocs/LePage.extension.st index b273357..60971d2 100644 --- a/src/MiniDocs/LePage.extension.st +++ b/src/MiniDocs/LePage.extension.st @@ -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) ]