Merge pull request #11425 from osmandapp/T9708

fix case sensitivity for wiki links
This commit is contained in:
Vitaliy 2021-04-14 21:55:06 +03:00 committed by GitHub
commit 7d3d86970f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,7 +142,7 @@ public class WikiArticleHelper {
public boolean publish(Amenity amenity) {
List<String> allNames = amenity.getAllNames(false);
for (String amenityName : allNames) {
if (name.equalsIgnoreCase(amenityName)) {
if (name.equals(amenityName)) {
results.add(amenity);
break;
}