From 774c20772b245ce6542a32cd46fe629b40ee457f Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Mon, 25 Apr 2022 17:17:54 +0100 Subject: [PATCH] Security: Fixed disallowed tag XSS --- .../app-cli/tests/md_to_html/sanitize_11.html | 0 .../app-cli/tests/md_to_html/sanitize_11.md | 1 + packages/renderer/htmlUtils.ts | 21 +++++++++++++++---- 3 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 packages/app-cli/tests/md_to_html/sanitize_11.html create mode 100644 packages/app-cli/tests/md_to_html/sanitize_11.md diff --git a/packages/app-cli/tests/md_to_html/sanitize_11.html b/packages/app-cli/tests/md_to_html/sanitize_11.html new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/app-cli/tests/md_to_html/sanitize_11.md b/packages/app-cli/tests/md_to_html/sanitize_11.md new file mode 100644 index 0000000000..dca473d3a9 --- /dev/null +++ b/packages/app-cli/tests/md_to_html/sanitize_11.md @@ -0,0 +1 @@ +