aclist / kbin-kes

Add-on manager and scripting framework for kbin
MIT License
24 stars 8 forks source link

[BUG] Double instance name in the sidebar #277

Closed Pamasich closed 5 months ago

Pamasich commented 5 months ago

Describe the bug I noticed that magazines in the Related Magazines section have their instance suffix duplicated.

image

The HTML of the above is:

<a href="/m/wowthislemmyexists@lemmy.ca" class="magazine-inline stretched-link instance" title="@wowthislemmyexists@lemmy.ca">
    <img width="30" height="30" style="max-width: 30px; max-height: 30px;" src="https://kbin.social/media/cache/resolve/avatar_thumb/22/14/22146d686a52e4c53e53c189ad65ffc2237b54d189f9f85e2399cadf80ed5e77.png" alt="wowthislemmyexists@lemmy.ca avatar">
    wowthislemmyexists@lemmy.ca<span class="mag-instance">@lemmy.ca</span>
</a>

It seems to me that the instance is already added natively by kbin and so the mag-instance shouldn't be created.

KES version:

Pamasich commented 5 months ago

Right, same issue occurs on the magazine search page too.

image

I have that fixed via css on kbin.social, so I forgot about this.

aclist commented 5 months ago

Resolved by 02440f3