Images in markdown don't render correctly if an in-line HTML center tag is present in programming exercises' problem statements. #10241
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
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
<center>
and</center>
in the same line.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.
Screenshots
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
The text was updated successfully, but these errors were encountered: