Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
feature/797/interact-with-remote-item
Maxence Lange 2019-10-04 10:40:05 -01:00
rodzic 90157beee8
commit 7ac1be6545
2 zmienionych plików z 2 dodań i 3 usunięć

3
package-lock.json wygenerowano
Wyświetl plik

@ -6764,8 +6764,7 @@
"he": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
"integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",
"dev": true
"integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw=="
},
"hmac-drbg": {
"version": "1.0.1",

Wyświetl plik

@ -758,7 +758,7 @@ export default {
}
} 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()
content = he.decode(content)