Skip to content

Commit

Permalink
Fix #17466 Inscription tags are erroneously treated as links
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-kutz committed Jul 18, 2023
1 parent babf216 commit a22f19b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public void buildInternal(View view) {
boolean isWiki = false;
boolean isText = false;
boolean isDescription = false;
boolean needLinks = !("population".equals(key) || "height".equals(key) || Amenity.OPENING_HOURS.equals(key));
boolean needLinks = !(Algorithms.equalsToAny(key, Amenity.OPENING_HOURS, "population", "height", "inscription"));
boolean needIntFormatting = "population".equals(key);
boolean isPhoneNumber = false;
boolean isUrl = false;
Expand Down

0 comments on commit a22f19b

Please sign in to comment.