From 729fd71546a156ebb66346f63078d9771c1bda8d Mon Sep 17 00:00:00 2001 From: Owen Conti Date: Sun, 8 Oct 2017 09:09:29 -0600 Subject: [PATCH] Fixes #3734 Add

and

elements to sanitizer options. --- src/core/components/providers/markdown.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/components/providers/markdown.jsx b/src/core/components/providers/markdown.jsx index 2b21c10b..ef95c6ae 100644 --- a/src/core/components/providers/markdown.jsx +++ b/src/core/components/providers/markdown.jsx @@ -29,7 +29,7 @@ Markdown.propTypes = { export default Markdown const sanitizeOptions = { - allowedTags: sanitize.defaults.allowedTags.concat([ "img" ]), + allowedTags: sanitize.defaults.allowedTags.concat([ "h1", "h2", "img" ]), textFilter: function(text) { return text.replace(/"/g, "\"") }