1
0
Fork 0
mirror of https://github.com/fiso64/slsk-batchdl.git synced 2024-12-22 06:22:41 +00:00

fix name skipper ws issue

This commit is contained in:
fiso64 2024-10-07 21:21:49 +02:00
parent f2867347fe
commit caa5bfc58d

View file

@ -45,7 +45,7 @@ namespace FileSkippers
s = s.RemoveFt(); s = s.RemoveFt();
s = s.Replace(ignore, " "); s = s.Replace(ignore, " ");
s = s.ReplaceInvalidChars(' ', false, removeSlash); s = s.ReplaceInvalidChars(' ', false, removeSlash);
s = s.RemoveConsecutiveWs(); s = s.RemoveConsecutiveWs().Trim();
return s; return s;
} }
@ -117,7 +117,7 @@ namespace FileSkippers
s = s.RemoveFt(); s = s.RemoveFt();
s = s.Replace(ignore, " "); s = s.Replace(ignore, " ");
s = s.ReplaceInvalidChars(' ', false, removeSlash); s = s.ReplaceInvalidChars(' ', false, removeSlash);
s = s.RemoveConsecutiveWs(); s = s.RemoveConsecutiveWs().Trim();
return s; return s;
} }