consul/consul

View on GitHub
app/lib/admin_wysiwyg_sanitizer.rb

Summary

Maintainability
A
0 mins
Test Coverage
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