💾 Archived View for bbs.geminispace.org › s › Bubble-Issues › 73 captured on 2024-06-16 at 18:31:15. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-05-26)

🚧 View Differences

-=-=-=-=-=-=-

[#73] Feed previews render Gemini links from the entries content wrongly.

`gemini://.com`. becomes `[gemini link] (also notice the missing full stop).

To see it in the wild, go to gemini://geminispace.org/s/Lagrange-Issues/1066

#bug ✔︎

🐞 Issue #73 in s/Bubble-Issues

🍵 michaelnordmeyer

2023-05-26 · 1 year ago

5 Comments ↓

🕹️ skyjake [mod...] · 2023-05-26 at 13:49:

This is on purpose. All URLs are supposed to be replaced with placeholders in previews, much like preformatted blocks are. This is for legibility and to keep the previews more compact.

Although, perhaps the URL detector could be enhanced to have some basic validity checks.

🍵 michaelnordmeyer [OP] · 2023-05-26 at 14:11:

Okay, maybe I should have written what I was expecting:

`gemini://.com`. should become `[gemini link]`.

🕹️ skyjake [mod...] · 2023-06-06 at 08:43:

I adjusted the URL regexp in v4, maybe the previews are more neatly formed now.

🍵 michaelnordmeyer [OP] · 2023-06-18 at 08:15:

Found another.

Body text:

two different URLs (gemini://skyjake.fi/~Cosmos/ and gemini://skyjake.fi/~Cosmos/index.gmi), this apparently

becomes:

two different URLs ([gemini link] and [gemini link] this apparently

The closing parenthesis and comma is missing.

I expected the shortened version to become this:

two different URLs ([gemini link] and [gemini link]), this apparently

Source:

— bbs.geminispace.org/s/Cosmos/2170

Commit 34d12850 · Updated hyperlink detection pattern

2023-06-19 · 1 year ago

🕹️ skyjake [mod...] · 2023-06-20 at 20:04:

Please reopen if you find other cases of this issue.