fix(site): add missing slot="media" to renderer element in HTML code block (#737)

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Darius Cepulis <decepulis@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Darius Cepulis
2026-03-05 13:29:04 +00:00
committed by GitHub
co-authored by claude[bot] <41898282+claude[bot]@users.noreply.github.com> Darius Cepulis Claude Opus 4.6
parent 879d55d1d2
commit 45f3fbf4cf
@@ -51,7 +51,7 @@ function getSkinTag(useCase: UseCase, skin: Skin): string {
function getRendererElement(renderer: Renderer, url: string): string {
const tag = getRendererTag(renderer);
const src = url.trim() || '...';
return `<${tag} src="${src}"></${tag}>`;
return `<${tag} slot="media" src="${src}"></${tag}>`;
}
function generateHTMLCode(useCase: UseCase, skin: Skin, renderer: Renderer, url: string): string {