consul/consul

View on GitHub
app/lib/admin_legislation_sanitizer.rb

Summary

Maintainability
A
0 mins
Test Coverage
class AdminLegislationSanitizer < WYSIWYGSanitizer
  def allowed_tags
    super + %w[img h1 h4 h5 h6 table thead tbody tr th td]
  end

  def allowed_attributes
    super + %w[alt src id]
  end
end