Sha256: 9da0cc794e45d5c5e003c92aee60fd40eabec23cdad8e553c96a02005589053a

Contents?: true

Size: 492 Bytes

Versions: 3

Compression:

Stored size: 492 Bytes

Contents

# Be sure to restart your server when you modify this file.

# Allow HTML tags that aren't allowed by default in the SanitizeHelper

# Don't change this
default_sanitize_tags = ActionView::Base.sanitized_allowed_tags

# Add your desired HTML tags in here
desired_sanitize_tags = %w[table tbody td tfoot th thead tr]

# Merge default_sanitize_tags with desired_sanitize_tags
Rails.application.config.action_view.sanitized_allowed_tags = default_sanitize_tags.merge(desired_sanitize_tags).to_a

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
parliament-utils-0.10.2 lib/parliament/utils/config/initializers/sanitize_allowed_html_tags.rb
parliament-utils-0.10.1 lib/parliament/utils/config/initializers/sanitize_allowed_html_tags.rb
parliament-utils-0.10.0 lib/parliament/utils/config/initializers/sanitize_allowed_html_tags.rb