Skip to content

Commit 57a1abd

Browse files
authored
[meta] Don't scrub raw HTML from markdown. (#14166)
Seems it'd be useful, and the markdown in the repo is trusted.
1 parent ea1b610 commit 57a1abd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bin/build-markdown.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ def extract_title(text):
6464
def render_markdown(text):
6565
proc = subprocess.run(
6666
["cmark-gfm", "--extension", "table", "--extension", "autolink",
67-
"--extension", "strikethrough", "--extension", "tasklist"],
67+
"--extension", "strikethrough", "--extension", "tasklist",
68+
"--unsafe"],
6869
input=text, capture_output=True, encoding="utf-8",
6970
)
7071
if proc.returncode != 0:

0 commit comments

Comments
 (0)