diff --git a/app/components/markdown/preview_component.rb b/app/components/markdown/preview_component.rb index ac6055c87b..64b814540e 100644 --- a/app/components/markdown/preview_component.rb +++ b/app/components/markdown/preview_component.rb @@ -4,7 +4,7 @@ def initialize(markdown: '') end def allowed_tags - Rails::HTML5::SafeListSanitizer::DEFAULT_ALLOWED_TAGS + %w[details summary section] + Rails::HTML5::SafeListSanitizer::DEFAULT_ALLOWED_TAGS + %w[details summary section table thead tbody tr th td] end def allowed_attributes