zendesk_apps_support 4.38.2 → 4.38.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zendesk_apps_support/validations/svg.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8cfa43bb8288d7f036f86d1f4160eda89832eeb75bf11141f11fd9b9d41ebaf
|
4
|
+
data.tar.gz: 06a3a98b42fdbff0080af5388cc7ac4378b3fedcb40693d4f6dc2b0516d3093a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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::
|
12
|
-
Loofah::HTML5::
|
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::
|
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.
|
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-
|
14
|
+
date: 2023-03-16 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: i18n
|