Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Communication: Links without labels are not visible in posts #10254

Open
asliayk opened this issue Feb 3, 2025 · 1 comment
Open

Communication: Links without labels are not visible in posts #10254

asliayk opened this issue Feb 3, 2025 · 1 comment
Labels
bug communication Pull requests that affect the corresponding module lecture Pull requests that affect the corresponding module

Comments

@asliayk
Copy link
Contributor

asliayk commented Feb 3, 2025

Describe the bug

When adding a Markdown link without a label, e.g.,[](https://google.com), the message appears empty. The link itself is not displayed, making it invisible in the chat.

To Reproduce

  1. Go to the Communication section of a course.
  2. Open a random channel and try to send a message with a link, but without a label.
  3. Send the message and observe that the link is invisible.

Expected behavior

If a link has no label, it should display the url itself, just like in Slack.

Screenshots

link without label is not seen Image

Which version of Artemis are you seeing the problem on?

7.9.2

What browsers are you seeing the problem on?

Chrome

Additional context

No response

Relevant log output

@asliayk asliayk added the bug label Feb 3, 2025
@github-actions github-actions bot added communication Pull requests that affect the corresponding module lecture Pull requests that affect the corresponding module labels Feb 3, 2025
@badkeyy badkeyy self-assigned this Feb 5, 2025
@badkeyy
Copy link
Contributor

badkeyy commented Feb 6, 2025

This is not that easy to implement as Artemis relies on markdown-it to render markdown in html and the links are not rendered in there.

@badkeyy badkeyy removed their assignment Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug communication Pull requests that affect the corresponding module lecture Pull requests that affect the corresponding module
Projects
Status: Todo
Development

No branches or pull requests

2 participants