Update to rails 4.0.2
This commit is contained in:
parent
6053ed4124
commit
cc4bca22b0
4 changed files with 26 additions and 23 deletions
|
@ -10,6 +10,7 @@ module RichText
|
|||
|
||||
class SimpleFormat
|
||||
include ActionView::Helpers::TextHelper
|
||||
include ActionView::Helpers::OutputSafetyHelper
|
||||
|
||||
def sanitize(text)
|
||||
Sanitize.clean(text, Sanitize::Config::OSM).html_safe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue