(rawContent: string)
| 89 | * Strips HTML tags and decodes HTML entities from raw Confluence content. |
| 90 | */ |
| 91 | export 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 | |
| 98 | export function transformPageData(data: any) { |
| 99 | const rawContent = |
no test coverage detected