(node: HtmlNode, assetUrlFor: HtmlAssetUrlMapper)
| 178 | } |
| 179 | |
| 180 | function rewriteStyleContent(node: HtmlNode, assetUrlFor: HtmlAssetUrlMapper): void { |
| 181 | for (const child of node.childNodes ?? []) { |
| 182 | if (typeof child.value === "string") { |
| 183 | child.value = rewriteCssAssetReferences(child.value, assetUrlFor); |
| 184 | } |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | function isSupportLink(node: HtmlNode): boolean { |
| 189 | const rel = attrValue(node, "rel"); |
no test coverage detected