security: fix unsafe html inputs (#1173)

* use DomPurify to sanatize ingredient html

* fix list-item render for markdown

* address volar linter issue
This commit is contained in:
Hayden
2022-04-24 13:00:04 -08:00
committed by GitHub
parent 1c41ce7538
commit 2613420cd1
5 changed files with 33 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
{
"compilerOptions": {
"jsx": "preserve",
"target": "ES2018",
"module": "ESNext",
"moduleResolution": "Node",