MCPcopy Index your code
hub / github.com/simstudioai/sim / cleanHtmlContent

Function cleanHtmlContent

apps/sim/tools/confluence/utils.ts:91–96  ·  view source on GitHub ↗
(rawContent: string)

Source from the content-addressed store, hash-verified

89 * Strips HTML tags and decodes HTML entities from raw Confluence content.
90 */
91export function cleanHtmlContent(rawContent: string): string {
92 let content = stripHtmlTags(rawContent)
93 content = decodeHtmlEntities(content)
94 content = content.replace(/\s+/g, ' ').trim()
95 return content
96}
97
98export function transformPageData(data: any) {
99 const rawContent =

Callers 2

route.tsFile · 0.90
transformPageDataFunction · 0.85

Calls 3

stripHtmlTagsFunction · 0.70
decodeHtmlEntitiesFunction · 0.70
replaceMethod · 0.65

Tested by

no test coverage detected