Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/CapSoftware/Cap
/ normalizeTranscriptCueText
Function
normalizeTranscriptCueText
apps/web/lib/transcript-vtt.ts:1–3 ·
view source on GitHub ↗
(text: string)
Source
from the content-addressed store, hash-verified
1
export
function
normalizeTranscriptCueText(text: string): string {
2
return
text.replace(/\s+/g,
" "
).trim();
3
}
4
5
export
function
updateVttEntryText(
6
vttContent: string,
Callers
3
saveEdit
Function · 0.90
transcript-vtt.test.ts
File · 0.90
updateVttEntryText
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected