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

Images in markdown don't render correctly if an in-line HTML center tag is present in programming exercises' problem statements. #10241

Open
SimonKaran13 opened this issue Jan 31, 2025 · 0 comments
Labels
bug component:MarkdownEditor exam Pull requests that affect the corresponding module exercise Pull requests that affect the corresponding module lecture Pull requests that affect the corresponding module programming Pull requests that affect the corresponding module

Comments

@SimonKaran13
Copy link

Describe the bug

When an image is sorrounded between in-line

HTML tags in the Markdown Editor for programming exercises' problem statements. The image is not rendered, instead the image's "code" (![imageName](path-to-image.PNG)) is shown centered.

To Reproduce

  1. In the programming exercises problem statement, add an image (for example by copy-paste).
  2. Surround the image with <center> and </center> in the same line.
  3. See the rendered preview.

Expected behavior

The image should be rendered and centered, the same way it is rendered when the center tags are in a line before and after the image.

Image

Image

Screenshots

Image

Image

Which version of Artemis are you seeing the problem on?

7.9.0

What browsers are you seeing the problem on?

Chrome

Additional context

No response

Relevant log output

@SimonKaran13 SimonKaran13 added bug component:MarkdownEditor exercise Pull requests that affect the corresponding module programming Pull requests that affect the corresponding module labels Jan 31, 2025
@github-actions github-actions bot added exam Pull requests that affect the corresponding module lecture Pull requests that affect the corresponding module labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug component:MarkdownEditor exam Pull requests that affect the corresponding module exercise Pull requests that affect the corresponding module lecture Pull requests that affect the corresponding module programming Pull requests that affect the corresponding module
Projects
None yet
Development

No branches or pull requests

1 participant