MCPcopy Index your code
hub / github.com/Alphanimble/htmlstream / renderPostTableTrack

Function renderPostTableTrack

src/patch-streaming-html.ts:362–369  ·  view source on GitHub ↗
(postTrack: string)

Source from the content-addressed store, hash-verified

360const POST_TABLE_CLASS = "sh-post-table";
361
362function renderPostTableTrack(postTrack: string): string {
363 if (!postTrack) {
364 return "";
365 }
366 return findTableStart(postTrack) !== -1
367 ? assembleStreamHtml(postTrack)
368 : closeOpenTags(postTrack);
369}
370
371function ensurePostTableHolder(firstTable: HTMLTableElement): HTMLElement {
372 let postHolder = firstTable.nextElementSibling as HTMLElement | null;

Callers 1

patchPostTableTailFunction · 0.85

Calls 3

closeOpenTagsFunction · 0.90
findTableStartFunction · 0.85
assembleStreamHtmlFunction · 0.85

Tested by

no test coverage detected