Skip to content

Modelling: Markdown in explanation of example solution not displayed correctly #9680

@ValentinHerrmann

Description

@ValentinHerrmann

Describe the bug

When using markdown in the explanation of a modeling exercise's sample solution, it is displayed properly in the exercise overview for instructors, but in the student view (with a student and instructor account), it is displayed as raw markdown code. When using markdown in the explanation of a modeling exercise's sample solution, it is displayed properly in the exercise overview for instructors, but in the student view (with a student account), it is displayed as raw markdown code.

To Reproduce

  1. Create a modeling exercise with some kind of markdown in the solution's explanation and make the sample solution visible for students.
  2. Go to student view (or switch to a student account) and open the exercise and its example solution.
  3. See the buggy behavior: Raw markdown code.

Expected behavior

The explanation is expected to display the formatted text instead of the raw markdown code.

Screenshots

image

Which version of Artemis are you seeing the problem on?

7.6.5

What browsers are you seeing the problem on?

Chrome, Microsoft Edge

Additional context

No response

Relevant log output

POST https://sentry.ase.in.tum.de/api/2/envelope/?sentry_key=ceeb3e72ec094684aef…f87231f2&sentry_version=7&sentry_client=sentry.javascript.angular%2F8.36.0 403 (Forbidden)   zone.js:2678

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcorePull requests that affect the corresponding moduleexamPull requests that affect the corresponding moduleexercisePull requests that affect the corresponding modulelecturePull requests that affect the corresponding modulemodelingPull requests that affect the corresponding moduleprogrammingPull requests that affect the corresponding moduletextPull requests that affect the corresponding module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions