diff --git a/lib/sanitize_ext/sanitize_config.rb b/lib/sanitize_ext/sanitize_config.rb index ab166f52a8..f30eec476c 100644 --- a/lib/sanitize_ext/sanitize_config.rb +++ b/lib/sanitize_ext/sanitize_config.rb @@ -107,6 +107,7 @@ class Sanitize elements: %w(p br span a del s pre blockquote code b strong u i em ul ol li ruby rt rp), attributes: { + :all => %w(lang), 'a' => %w(href rel class translate), 'span' => %w(class translate), 'ol' => %w(start reversed),