diff --git a/browser/lib/markdown.js b/browser/lib/markdown.js index 5184ce16..b97f9d56 100644 --- a/browser/lib/markdown.js +++ b/browser/lib/markdown.js @@ -52,8 +52,8 @@ md.use(sanitize, { allowedTags: ['img', 'iframe'], allowedAttributes: { '*': ['alt', 'style'], - 'img': ['src', 'height', 'width'], - 'iframe': ['src'] + 'img': ['src', 'width', 'height'], + 'iframe': ['src', 'width', 'height', 'frameborder', 'allowfullscreen'] }, allowedIframeHostnames: ['www.youtube.com'] })