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(`
`) }