@geogirafe/lib-geoportal 1.2.0-dev.2775157130 → 1.2.0-dev.2775426316

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "name": "GeoGirafe PSC",
6
6
  "url": "https://doc.geogirafe.org"
7
7
  },
8
- "version": "1.2.0-dev.2775157130",
8
+ "version": "1.2.0-dev.2775426316",
9
9
  "type": "module",
10
10
  "engines": {
11
11
  "node": ">=20.19.0"
@@ -1 +1 @@
1
- {"version":"1.2.0-dev.2775157130", "build":"2775157130", "date":"20/08/2026"}
1
+ {"version":"1.2.0-dev.2775426316", "build":"2775426316", "date":"20/08/2026"}
@@ -32,7 +32,7 @@ const gOpenWindowSplitArgChar = '°°°';
32
32
  const transformOpenWindowLinksToData = (text) => {
33
33
  // Long regexp because we want to capture all arguments, 4 are optional and can be text or number.
34
34
  // Title and or url can contain any character, including comma.
35
- const gOpenWindowLinkRegExp = /<a\b[^>]*\bhref\s*=\s*"javascript:(?:window\.)?gOpenWindow\(\s*'([^']*)'\s*,\s*'([^']*)'(?:\s*,\s*(?:'([^']*)'|(\d+)))?(?:\s*,\s*(?:'([^']*)'|(\d+)))?(?:\s*,\s*(?:'([^']*)'|(\d+)))?(?:\s*,\s*(?:'([^']*)'|(\d+)))?\s*\)\s*;"[^>]*>([\s\S]*?)<\/a>/gi;
35
+ const gOpenWindowLinkRegExp = /<a\b[^>]*\bhref\s*=\s*"javascript:(?:window\.)?gOpenWindow\(\s*'([^']*)'\s*,\s*'([^']*)'(?:\s*,\s*(?:'([^']*)'|(\d+)))?(?:\s*,\s*(?:'([^']*)'|(\d+)))?(?:\s*,\s*(?:'([^']*)'|(\d+)))?(?:\s*,\s*(?:'([^']*)'|(\d+)))?\s*\)\s*;?"[^>]*>([\s\S]*?)<\/a>/gi;
36
36
  return text.replace(gOpenWindowLinkRegExp, (_, title, url, widthText, widthNumber, heightText, heightNumber, topText, topNumber, leftText, leftNumber, text) => {
37
37
  const width = widthText ? `'${widthText}'` : widthNumber;
38
38
  const height = heightText ? `'${heightText}'` : heightNumber;