Skip to content

Commit a51090f

Browse files
committed
🤖 GITHUB ACTIONS format_prettier
1 parent 3fa3924 commit a51090f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎src/app/home/pages/home/home.component.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ export class HomeComponent implements OnInit {
106106
const parser = new DOMParser()
107107
const doc = parser.parseFromString(html, 'text/html')
108108

109-
doc.querySelectorAll('script,link[rel="stylesheet"]').forEach((n) => n.remove())
109+
doc
110+
.querySelectorAll('script,link[rel="stylesheet"]')
111+
.forEach((n) => n.remove())
110112

111113
this.wordpressView = this.sanitizer.bypassSecurityTrustHtml(
112114
doc.body?.innerHTML ?? html

0 commit comments

Comments
 (0)