diff --git a/src/UI/Popup/Notes/NoteCommentElement.ts b/src/UI/Popup/Notes/NoteCommentElement.ts index 4dc3c8990..22ee81e67 100644 --- a/src/UI/Popup/Notes/NoteCommentElement.ts +++ b/src/UI/Popup/Notes/NoteCommentElement.ts @@ -75,6 +75,7 @@ export default class NoteCommentElement extends Combine { const extension = link.substring(lastDotIndex + 1, link.length) return Utils.imageExtensions.has(extension) }) + .filter(link => !link.startsWith("https://wiki.openstreetmap.org/wiki/File:")) let imagesEl: BaseUIElement = undefined if (images.length > 0) { const imageEls = images.map((i) =>