design-comuni-plone-theme 8.4.1 → 8.4.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
 
2
2
 
3
+ ## [8.4.2](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v8.4.1...v8.4.2) (2023-08-24)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * more external url fixes for images ([dc6da3a](https://github.com/RedTurtle/design-comuni-plone-theme/commit/dc6da3ac832bec31c372cc854ff6b199df32273e))
9
+
10
+
11
+ ### Documentation
12
+
13
+ * updated publiccode ([ad343ef](https://github.com/RedTurtle/design-comuni-plone-theme/commit/ad343ef38c2d893c7ec7222c2e24baa7139ef4aa))
14
+
3
15
  ## [8.4.1](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v8.4.0...v8.4.1) (2023-08-24)
4
16
 
5
17
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "design-comuni-plone-theme",
3
3
  "description": "Volto Theme for Italia design guidelines",
4
4
  "license": "GPL-v3",
5
- "version": "8.4.1",
5
+ "version": "8.4.2",
6
6
  "main": "src/index.js",
7
7
  "keywords": [
8
8
  "volto-addon",
package/publiccode.yml CHANGED
@@ -229,7 +229,7 @@ platforms:
229
229
  - web
230
230
  releaseDate: '2023-08-24'
231
231
  softwareType: standalone/web
232
- softwareVersion: 8.4.1
232
+ softwareVersion: 8.4.2
233
233
  url: 'https://github.com/italia/design-comuni-plone-theme'
234
234
  usedBy:
235
235
  - ASP Comuni Modenesi Area Nord
@@ -118,7 +118,7 @@ export const getImageAttributes = (
118
118
  case 'internalUrl':
119
119
  let baseUrl = `@@images/${imageField}`;
120
120
  if (isFromBrain) baseUrl = `${itemPath}${baseUrl}`;
121
- else baseUrl = `${image.split('@@images')[0]}${baseUrl}`;
121
+ else baseUrl = `${image.split('/@@images')[0]}/${baseUrl}`;
122
122
  baseUrl = flattenToAppURL(baseUrl);
123
123
 
124
124
  attrs.src = `${baseUrl}/${minScale}`;