diff --git a/hobofields/lib/hobo_fields/sanitize_html.rb b/hobofields/lib/hobo_fields/sanitize_html.rb index d4b606ef4..2161df918 100644 --- a/hobofields/lib/hobo_fields/sanitize_html.rb +++ b/hobofields/lib/hobo_fields/sanitize_html.rb @@ -4,10 +4,10 @@ module SanitizeHtml PERMITTED_TAGS = %w(a abbr acronym address b bdo big blockquote br caption center cite code colgroup dd del dfn dir div dl dt em fieldset font h1 h2 h3 h4 h5 h6 i img ins kbd label legend li map menu ol optgroup - option p pre q s samp select small span strike strong sub sup tbody td textarea tfoot + option p pre q s samp select small span strike strong sub sup table tbody td textarea tfoot th thead tr tt u ul var) - PERMITTED_ATTRIBUTES = %w(href title class style align name src label target) + PERMITTED_ATTRIBUTES = %w(href title class style align name src label target border) class Helper; include ActionView::Helpers::SanitizeHelper; extend ActionView::Helpers::SanitizeHelper::ClassMethods; end @@ -17,4 +17,4 @@ def self.sanitize(s) end -end \ No newline at end of file +end