Web Security · Middle · Question 8 of 75

Your app renders user-written Markdown to HTML. What must happen before inserting the result into the page?

Explanation

Markdown is a superset that often passes HTML through. Disable raw HTML in the renderer and run the output through a sanitizer.

Further reading

Problem with a question

Web Security · Middle · question 8

Test yourself

Take the Web Security · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz