MCPcopy Create free account
hub / github.com/Alphanimble/htmlstream / forStreamingDisplay

Function forStreamingDisplay

src/streamhtml.tsx:382–383  ·  view source on GitHub ↗
(html: string)

Source from the content-addressed store, hash-verified

380
381 const rawLive = repaired.live;
382 const forStreamingDisplay = (html: string) =>
383 isStreaming ? applyStreamingSmilPolicy(html, rawLive) : html;
384
385 const track = isStreaming ? rawLive : sanitizeBlock(rawLive);
386 const hasTable = findTableStart(rawLive) !== -1;

Callers 1

StreamHtmlFunction · 0.85

Calls 1

applyStreamingSmilPolicyFunction · 0.90

Tested by

no test coverage detected