Skip to content

Commit 3a24ebd

Browse files
committed
Fix Prettier
1 parent e8b4024 commit 3a24ebd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
export default function stripParagraphContainer(html: string): string {
2-
return html.trim().replace(/^<p\sxmlns="http:\/\/www.w3.org\/1999\/xhtml">/u, '').replace(/<\/p>$/u, '');
2+
return html
3+
.trim()
4+
.replace(/^<p\sxmlns="http:\/\/www.w3.org\/1999\/xhtml">/u, '')
5+
.replace(/<\/p>$/u, '');
36
}

0 commit comments

Comments
 (0)