We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaa876d commit 96dd8f6Copy full SHA for 96dd8f6
src/containers/blogs/Blogs.js
@@ -15,9 +15,9 @@ export default function Blogs() {
15
return typeof html === "string"
16
? html
17
.split(/<\/p>/i)
18
- .map((part) => part.split(/<p[^>]*>/i).pop())
19
- .filter((el) => el.trim().length > 0)
20
- .map((el) => el.replace(/<\/?[^>]+(>|$)/g, "").trim())
+ .map(part => part.split(/<p[^>]*>/i).pop())
+ .filter(el => el.trim().length > 0)
+ .map(el => el.replace(/<\/?[^>]+(>|$)/g, "").trim())
21
.join(" ")
22
: NaN;
23
}
0 commit comments