mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Treat html as text in markdown parsing to disallow html in docs
This commit is contained in:
parent
41d7ade5a3
commit
e8adfa5b71
1 changed files with 3 additions and 0 deletions
|
@ -884,6 +884,9 @@ fn markdown_to_html(
|
|||
}
|
||||
}
|
||||
}
|
||||
Event::Html(html) => {
|
||||
docs_parser.push(Event::Text(html));
|
||||
}
|
||||
e => {
|
||||
docs_parser.push(e);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue