From 72534223f3ddbfd7e70bcf928a394bf113df778b Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Mon, 13 Jul 2020 16:50:47 -0300 Subject: [PATCH] FEATURE: Allow video tag attributes for video gifs --- app/assets/javascripts/pretty-text/addon/white-lister.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/pretty-text/addon/white-lister.js b/app/assets/javascripts/pretty-text/addon/white-lister.js index e161c630070..15ae2ae2389 100644 --- a/app/assets/javascripts/pretty-text/addon/white-lister.js +++ b/app/assets/javascripts/pretty-text/addon/white-lister.js @@ -203,14 +203,16 @@ export const DEFAULT_LIST = [ "track[srclang]", "ul", "video", + "video[autoplay]", "video[controls]", "video[controlslist]", "video[crossorigin]", "video[height]", + "video[loop]", + "video[muted]", "video[poster]", - "video[width]", - "video[controls]", "video[preload]", + "video[width]", "ruby", "ruby[lang]", "rb",