1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-20 21:54:58 -04:00

Enforce comment spacing with Stylecop

This commit is contained in:
Qstick
2022-11-06 18:44:13 -06:00
committed by Mark McDowall
parent be0fa73129
commit 08b677ca7d
115 changed files with 345 additions and 346 deletions
@@ -34,7 +34,7 @@ namespace NzbDrone.Core.IndexerSearch.Definitions
cleanTitle = SpecialCharacter.Replace(cleanTitle, "");
cleanTitle = NonWord.Replace(cleanTitle, "+");
//remove any repeating +s
// remove any repeating +s
cleanTitle = Regex.Replace(cleanTitle, @"\+{2,}", "+");
cleanTitle = cleanTitle.RemoveAccent();
return cleanTitle.Trim('+', ' ');