sforkowany z mirror/social
eslint
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>feature/797/interact-with-remote-item
rodzic
90157beee8
commit
7ac1be6545
|
@ -6764,8 +6764,7 @@
|
||||||
"he": {
|
"he": {
|
||||||
"version": "1.2.0",
|
"version": "1.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
|
||||||
"integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",
|
"integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw=="
|
||||||
"dev": true
|
|
||||||
},
|
},
|
||||||
"hmac-drbg": {
|
"hmac-drbg": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
|
|
|
@ -758,7 +758,7 @@ export default {
|
||||||
}
|
}
|
||||||
} while (match)
|
} while (match)
|
||||||
|
|
||||||
// Remove all html tags but </div> (wich we turn in newlines) and decode the remaining html entities
|
// Remove all html tags but </div> (wich we turn in newlines) and decode the remaining html entities
|
||||||
let content = contentHtml.replace(/<(?!\/div)[^>]+>/gi, '').replace(/<\/div>/gi, '\n').trim()
|
let content = contentHtml.replace(/<(?!\/div)[^>]+>/gi, '').replace(/<\/div>/gi, '\n').trim()
|
||||||
content = he.decode(content)
|
content = he.decode(content)
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue