Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@BentiGorlich
Copy link
Member

  • make them inline, so when you have look here (some content link) it does not get converted to: look here ( some content preview )
  • fix links getting completely removed. The cause was the link-matching in the ApActivityRepository which sometimes returned an object with 0 as the id which of course does not yield results from the DB. Since that was just not expected we showed an empty div for these links
    grafik

Closes #1493

- make them inline, so when you have `look here (some content link)` it does not get converted to:
  ```
  look here (
  some content preview
  )
  ```
- fix links getting completely removed. The cause was the link-matching in the `ApActivityRepository` which sometimes returned an object with `0` as the id which of course does not yield results from the DB. Since that was just not expected we showed an empty div for these links
@BentiGorlich BentiGorlich added bug Something isn't working frontend Visual issues, improvements, bugs or other aspects relating mostly to the front end backend Backend related issues and pull requests labels Mar 27, 2025
@BentiGorlich BentiGorlich self-assigned this Mar 27, 2025
@melroy89
Copy link
Member

See it in action as well here: https://kbin.melroy.org/m/testing/t/728880/Test-markdown

It does seem to work now indeed! Thanks. It only doesn't work when the span is too large like a big title or something. Then the span will just be too large and cause the text to wrap anyways (or even the inside text in the span will wrap).

@melroy89 melroy89 added this to the v1.8.1 milestone Mar 28, 2025
melroy89
melroy89 previously approved these changes Mar 28, 2025
@BentiGorlich BentiGorlich merged commit f57931f into main Mar 28, 2025
7 checks passed
@BentiGorlich BentiGorlich deleted the fixnew/inlining-md-previews branch March 28, 2025 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Backend related issues and pull requests bug Something isn't working frontend Visual issues, improvements, bugs or other aspects relating mostly to the front end

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Link previews fail to render if the thread title is included in the URL

3 participants