(html: string)
| 62 | * scripts) rendered on the server. |
| 63 | */ |
| 64 | export function getAppContents(html: string): string { |
| 65 | const result = stripUtilAttributes(html, true).match(/<body>(.*?)<\/body>/s); |
| 66 | return result ? result[1] : html; |
| 67 | } |
| 68 | |
| 69 | /** |
| 70 | * Converts a static HTML to a DOM structure. |
no test coverage detected
searching dependent graphs…