Commit 89bffe08 authored by Pirate Praveen's avatar Pirate Praveen

dup whitelist before modification

Fixes ActionView::Template::Error (can't modify frozen Hash) #48415
parent 99e816bc
......@@ -8,7 +8,7 @@ module Banzai
TABLE_ALIGNMENT_PATTERN = /text-align: (?<alignment>center|left|right)/
def whitelist
whitelist = super
whitelist = super.dup
customize_whitelist(whitelist)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment