mmd-osm created an issue (openstreetmap/openstreetmap-website#6643)

### URL

https://www.openstreetmap.org/user/bmaczero/diary/407962

### How to reproduce the issue?

A user has posted an Overpass QL query in  
https://www.openstreetmap.org/user/bmaczero/diary/407962 as:

```
{{geocodeArea:Colorado}}->.searchArea;
way["leisure"="pitch"]["sport"="tennis"](area.searchArea);
foreach(way._( if:count_members()==5); out geom;);
```

Linkify rules has turned the query into this code, which is no longer valid.

```
{{geocodeArea:Colorado}}->.searchArea;
way["leisure"="pitch"]["sport"="tennis"](area.searchArea);
foreach https://wiki.openstreetmap.org/wiki/Tag:(way._(if:count_members()==5); 
out geom;);
```

Linkify rules should not be applied to source code blocks. They're supposed to 
be left as is.

### Screenshot(s) or anything else?

_No response_

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6643
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to