AntonKhorev left a comment (openstreetmap/openstreetmap-website#5780)

> So "it used to work" in the original text but it "doesn't work" when pasted, 
> as without the protocol it isn't getting linkified again.

The answer is "no, text that didn't start with http/https wasn't linkified, 
although www. was (but with http protocol, not https)".

The behavior here was kind of beta tested on better-osm-org users who don't 
seem to complain about it.

The easy fix is to not strip the http/https, but that makes link texts longer.

The more advanced fix is to do detect more links ourselves, but see 
https://github.com/openstreetmap/openstreetmap-website/issues/5780#issuecomment-2746253474,
 this will definitely lead to thing misdetected and more complaints.

There's also a possible fix purely for copypasting.

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

Message ID: 
<openstreetmap/openstreetmap-website/issues/5780/2761834...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to