From 5e94ab41e5c062983b8937daa268a98d7e2a96e9 Mon Sep 17 00:00:00 2001 From: albert Date: Fri, 8 Mar 2013 13:46:37 -0500 Subject: [PATCH] allow center and code tags in dtext --- app/logical/d_text.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),