From 03481dbfe951ee38d5ed3db685d42c0e413fdef7 Mon Sep 17 00:00:00 2001 From: Hugo Delaunay Date: Thu, 28 Dec 2023 12:33:14 +0100 Subject: [PATCH] Correction dans l'utilisation de GeoGebra dans l'API. --- modules/api-v2-generator/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/api-v2-generator/common.ts b/modules/api-v2-generator/common.ts index 103168c0e..adfcad279 100644 --- a/modules/api-v2-generator/common.ts +++ b/modules/api-v2-generator/common.ts @@ -349,7 +349,7 @@ export const formatHtml = (resolver: Resolver, contentDirectoryPath: string, les const representations = root.querySelectorAll('.representation') for (let i = 0; i < representations.length; i++) { const representation = representations[i] - const id = representation.getAttribute('geogebra-id') + const id = representation.getAttribute('data-geogebra-id') representation.replaceWith(`
`) }