You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
heres how one of my Mastodon posts is being picked up by NodeBB source link on NodeBB
this CSS is being added to the front and back urls .invisible { visibility: hidden !important; }
if you replace visibility: hidden !important; with display: none; it mostly fixes this issue
Anything else?
the only additional thing is whatever is looking for the unnecessary end of the URL to hide is breaking it at a strange place, if you want to prettify this url I would imagine it to look like search.f-droid.org but insdead its search.f-droid.org/?q=gemini&l and breaking it in the middle of a slug seems strange, would make more sense to hide everything after a ?
The text was updated successfully, but these errors were encountered:
The problem here is Mastodon adding the classes. That implementation uses those classes within their CSS, and it properly renders a shortened URL text. In NodeBB, those classes are attached to different CSS directives (or none at all, in the case of .ellipsis), which is why it looks funny.
It looks like NodeBB will need to do some strict sanitization of incoming HTML for display purposes...
heres how one of my Mastodon posts is being picked up by NodeBB
source link on NodeBB
this CSS is being added to the front and back urls
.invisible { visibility: hidden !important; }
if you replace
visibility: hidden !important;
withdisplay: none;
it mostly fixes this issueAnything else?
the only additional thing is whatever is looking for the unnecessary end of the URL to hide is breaking it at a strange place, if you want to prettify this url I would imagine it to look like
search.f-droid.org
but insdead itssearch.f-droid.org/?q=gemini&l
and breaking it in the middle of a slug seems strange, would make more sense to hide everything after a?
The text was updated successfully, but these errors were encountered: