zendesk_apps_support 4.38.2 → 4.38.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00cac4e5d14cdee31ff3283494f824c00f8c4761a532d4569b92dadf80e00520
4
- data.tar.gz: a8507f7b3ffdd7762d9a3c8be4ec845c447f74dc3f50d483b15ee9ac4e6a022e
3
+ metadata.gz: d8cfa43bb8288d7f036f86d1f4160eda89832eeb75bf11141f11fd9b9d41ebaf
4
+ data.tar.gz: 06a3a98b42fdbff0080af5388cc7ac4378b3fedcb40693d4f6dc2b0516d3093a
5
5
  SHA512:
6
- metadata.gz: c26f0a466818ca03512c75312b71b90a63afbfbac32d434d17a87d1c1d70c4feaca378a59351b37ac4c97ad34b637c7dbb4fdc39e44d838223ce332ffa26fe62
7
- data.tar.gz: 47be542053294bb62ab0322f00ba8f9709762210721dd1fc971c60cc7b271a3955a37f480e80b3984363fd6ea56a1dab5bd54023e87e5e1dcc811ab2b72da0f2
6
+ metadata.gz: 9c99947ded38ee1d1711ce4c8e1fd4f4a9426fcd496120d4a486b6d08df6a617a4f78bd3df5301c58906f1afc5c4a9ec275a8943cd556e1fd69a462d721f0204
7
+ data.tar.gz: b06964fc1b53630b2d5d6e0a4e557c79978b56ec3fe32c23f7fe182c6f3384e43f566b3cbf860bb0df2c28c30cf2f7fb0634aaa1e86c4c15b62141a5de0d73fc
@@ -8,13 +8,13 @@ module ZendeskAppsSupport
8
8
  PLACEHOLDER_SVG_MARKUP = File.read(File.expand_path('../../assets/default_app_logo.svg', __FILE__))
9
9
 
10
10
  # whitelist elements and attributes used in Zendesk Garden assets
11
- Loofah::HTML5::WhiteList::ALLOWED_ELEMENTS_WITH_LIBXML2.add 'symbol'
12
- Loofah::HTML5::WhiteList::ACCEPTABLE_CSS_PROPERTIES.add 'position'
11
+ Loofah::HTML5::SafeList::ALLOWED_ELEMENTS_WITH_LIBXML2.add 'symbol'
12
+ Loofah::HTML5::SafeList::ACCEPTABLE_CSS_PROPERTIES.add 'position'
13
13
 
14
14
  # CRUFT: ignore a (very specific) style attribute which Loofah would otherwise scrub.
15
15
  # This attribute is deprecated (https://www.w3.org/TR/filter-effects/#AccessBackgroundImage)
16
16
  # but is included in many of the test apps used in fixtures for tests in ZAM, ZAT etc.
17
- Loofah::HTML5::WhiteList::ACCEPTABLE_CSS_PROPERTIES.add 'enable-background'
17
+ Loofah::HTML5::SafeList::ACCEPTABLE_CSS_PROPERTIES.add 'enable-background'
18
18
 
19
19
  @strip_declaration = Loofah::Scrubber.new do |node|
20
20
  node.remove if node.name == 'xml' && node.children.empty?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zendesk_apps_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.38.2
4
+ version: 4.38.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James A. Rosen
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2023-03-09 00:00:00.000000000 Z
14
+ date: 2023-03-16 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: i18n