mirror of
https://github.com/zoriya/v10.git
synced 2026-08-05 05:37:21 +00:00
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:
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 {
|
||||
|
||||
Reference in New Issue
Block a user