Merge pull request #11425 from osmandapp/T9708
fix case sensitivity for wiki links
This commit is contained in:
commit
7d3d86970f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue