MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / inlinedHtml

Function inlinedHtml

packages/sdk/src/session.subcomp.test.ts:24–26  ·  view source on GitHub ↗

Build a flat inlined HTML string simulating what inlineSubCompositions produces.

(inner: string)

Source from the content-addressed store, hash-verified

22
23/** Build a flat inlined HTML string simulating what inlineSubCompositions produces. */
24function inlinedHtml(inner: string): string {
25 return `<!DOCTYPE html><html><body>${inner}</body></html>`;
26}
27
28/** Stamp hf-ids and return a linkedom document (same as parseMutable's path). */
29function makeDoc(html: string) {

Callers 2

ambiguousHtmlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected