This commit is contained in:
albert
2013-03-08 16:07:20 -05:00
parent 1a03f49adc
commit 9af2826098
2 changed files with 5 additions and 1 deletions

View File

@@ -194,7 +194,7 @@ class DText
Sanitize.clean(
text,
: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),
: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 u s),
:attributes => {
"a" => %w(href title style),
"span" => %w(class style),