diff --git a/app/logical/d_text.rb b/app/logical/d_text.rb index 2695a097e..e6d8efcfa 100644 --- a/app/logical/d_text.rb +++ b/app/logical/d_text.rb @@ -194,7 +194,7 @@ class DText Sanitize.clean( text, - :elements => %w(tn h1 h2 h3 h4 h5 h6 a span div blockquote br p ul li ol em strong small big b i font), + :elements => %w(code center tn h1 h2 h3 h4 h5 h6 a span div blockquote br p ul li ol em strong small big b i font), :attributes => { "a" => %w(href title style), "span" => %w(class style),