Skip to content

Commit

Permalink
Add <pre> to trusted HTML subset (gh-930)
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Apr 10, 2022
1 parent 9d9abf6 commit 97c5a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/content.py
Expand Up @@ -1471,7 +1471,7 @@ def markup_to_html(
tags=bleach.ALLOWED_TAGS + [
"div", "span", "p", "img",
"h1", "h2", "h3", "h4", "h5", "h6",
"table", "td", "tr", "th",
"table", "td", "tr", "th", "pre",
],
attributes=filter_html_attributes)

Expand Down

0 comments on commit 97c5a2d

Please sign in to comment.