Reciving html tags in notification bar with notification content

Hi, I have implemented fcm notification, but I am receiving HTML tags in content on notification data and that is shown in the notification bar. kindly help if anyone knows how to replace those tags and print plain text in the notification bar.

here is my code :-

FCMPlugin.onNotification(
        (data) => {
          if (!data.wasTapped) {
            data.replace(/<\/?[^>]+>/gi, "");
            this.nav.push(HomePage, { data });
            
          } else if (this.platform.is('android')) {
            data.replace(/<\/?[^>]+>/gi, "");
            this.nav.push(HomePage, { data });
            
          }
        },
        (e) => {
          console.log(e);
        }
      );

thank you for your support !