From: Marius Balteanu Date: Wed, 11 Aug 2021 21:52:37 +0000 (+0000) Subject: Fixed Replace class var @@allowlist with a class instance var (#32424). X-Git-Tag: 5.0.0~279 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e1e4736e973493ea075e049c7ef2d12edebe35bf;p=redmine.git Fixed Replace class var @@allowlist with a class instance var (#32424). git-svn-id: http://svn.redmine.org/redmine/trunk@21166 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/redmine/wiki_formatting/common_mark/sanitization_filter.rb b/lib/redmine/wiki_formatting/common_mark/sanitization_filter.rb index 7ee973911..94e4b8f5e 100644 --- a/lib/redmine/wiki_formatting/common_mark/sanitization_filter.rb +++ b/lib/redmine/wiki_formatting/common_mark/sanitization_filter.rb @@ -28,7 +28,7 @@ module Redmine }.freeze def allowlist - @@allowlist ||= customize_allowlist(super.deep_dup) + @allowlist ||= customize_allowlist(super.deep_dup) end private