MCPcopy Create free account
hub / github.com/AlexErrant/Pentive / toOneLine

Function toOneLine

shared/src/htmlToText.ts:62–64  ·  view source on GitHub ↗
(html: string)

Source from the content-addressed store, hash-verified

60})
61
62export function toOneLine(html: string) {
63 return toOneLineHelper(html).replace(/\s+/g, ' ').trim()
64}

Callers 1

dispatchTransactionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected