From edeb344b900f7d302331e74bd0b97b4c152fdaf0 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Fri, 17 May 2019 19:40:55 -0500 Subject: [PATCH] re-add support for tags `sup`, `h6`, `hr` --- app/lib/sanitize_config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/sanitize_config.rb b/app/lib/sanitize_config.rb index 23d0a418f..db6f50ed1 100644 --- a/app/lib/sanitize_config.rb +++ b/app/lib/sanitize_config.rb @@ -20,7 +20,7 @@ class Sanitize end MASTODON_STRICT ||= freeze_config( - elements: %w(p br span a abbr del pre blockquote code b strong u sub i em h1 h2 h3 h4 h5 ul ol li), + elements: %w(p br span a abbr del pre sub sup blockquote code b strong u i em h1 h2 h3 h4 h5 h6 ul ol li hr), attributes: { 'a' => %w(href rel class title),