Oneboxes mit Ankern verstecken den Anker

When I write a onebox with an anchor — for example to a particular comment in a GitHub issue — the generated onebox has multiple links:

The diminutive top one (in gray; the github.com/discourse/discourse text) preserves the anchor but the obvious big blue link strips it. I get that without special support, the onebox is describing the page itself, but I wrote an anchor tag and I’d like most folks that click it to go to the anchor. Sure, when there’s just a handful of comments it’s not huge, but if you’re trying to link into the middle of a complicated issue the lost context is a bigger deal.

A secondary feature request would be to add special anchor support for GitHub comments as you’ve done for Wikipedia (note that the generated oneboxes in that old topic are confusing because Wikipedia’s page structure has since changed so it does still work):

4 „Gefällt mir“

@nbianca hat vor kurzem verschiedene Verbesserungen daran vorgenommen, es ist jetzt auf tests-passed verfügbar. Lassen Sie uns wissen, wie es für Sie funktioniert.

2 „Gefällt mir“

Dieses Thema wurde nach 2 Tagen automatisch geschlossen. Neue Antworten sind nicht mehr möglich.