From a0e7ba252c4d5f964ea07b64be31ae5c39d26d78 Mon Sep 17 00:00:00 2001 From: Ryan Tharp Date: Tue, 30 Jul 2019 02:52:06 -0700 Subject: [PATCH] strip style and improving stripping regex --- ts/components/conversation/Linkify.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/components/conversation/Linkify.tsx b/ts/components/conversation/Linkify.tsx index 975ffd668..d5514ada4 100644 --- a/ts/components/conversation/Linkify.tsx +++ b/ts/components/conversation/Linkify.tsx @@ -31,8 +31,8 @@ export class Linkify extends React.Component {
)<[^<]*)*<\/script>/gi, '') + .replace(/)<[^<]*)*<\/style>/gi, ''), }} /> );