[openstreetmap/openstreetmap-website] Set og:image:alt OpenGraph property (PR #5046)

Andy Allan notifications at github.com
Wed Aug 7 13:45:50 UTC 2024


> which is unlikely because you can't do it with markdown syntax

Just as a side note, it's quite easy (and common) to skip the alt text with the markdown syntax, for example:

```
![](http://tile.osm.org/0/0/0.png)
```

Ref: https://spec.commonmark.org/0.31.2/#example-581

I'll leave it to you to decide if this is important enough to add more tests to cover this edge case.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5046#issuecomment-2273515402
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5046/c2273515402 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240807/659becda/attachment.htm>


More information about the rails-dev mailing list