Compare commits

..
2 Commits
Author SHA1 Message Date
lorenz.stechauner 8bf827e2bb [WIP] Bio Update
Test / Run tests (push) Successful in 3m4s
2026-09-29 13:20:21 +02:00
lorenz.stechauner 7477ea9d2b Helpers: Add Normalizer to normalize street names in addresses 2026-09-29 13:20:17 +02:00
+1 -1
View File
@@ -205,7 +205,7 @@ namespace Elwig.Helpers {
.Replace("|Nr|", "|Nr.|").Replace("|Und|", "|und|");
words = [.. temp.Trim('|').Split('|')];
if (words.Count > 1 && (words[0] == "Groß" || words[0] == "Klein") && !StreetTypes.Contains(words[1])) {
if (words.Count > 1 && words[0] == "Groß" || words[0] == "Klein" && !StreetTypes.Contains(words[1])) {
var w = words[0] + words[1].ToLowerInvariant();
words.RemoveRange(0, 2);
words.Insert(0, w);