Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Alphanimble/htmlstream
/ sanitizeBlock
Function
sanitizeBlock
src/streamhtml.tsx:378–379 ·
view source on GitHub ↗
(block: string)
Source
from the content-addressed store, hash-verified
376
});
377
378
const sanitizeBlock = (block: string) =>
379
sanitize ? sanitizeHtml(block, sanitizeConfig) : block;
380
381
const rawLive = repaired.live;
382
const forStreamingDisplay = (html: string) =>
Callers
1
StreamHtml
Function · 0.85
Calls
1
sanitizeHtml
Function · 0.90
Tested by
no test coverage detected