Files
nairobi/lib/admin_wysiwyg_sanitizer.rb
Julian Herrero 87be6f302c Add default site customization pages
From now on these static pages:

`/privacy'
`/conditions'
`/accesibility'
`/help/faq'
`/welcome'

have been moved to the DB and can be modified easily by any
administrator in `/admin/site_customization/pages'
2019-03-14 18:35:51 +01:00

10 lines
257 B
Ruby

class AdminWYSIWYGSanitizer < WYSIWYGSanitizer
def allowed_tags
super + %w[img table caption thead tbody tr th td]
end
def allowed_attributes
super + %w[alt src align border cellpadding cellspacing dir style class summary scope id]
end
end