From 2c56c1fb5b31c8753cf795575492897bc6023d48 Mon Sep 17 00:00:00 2001 From: feruzm Date: Fri, 27 Oct 2023 14:53:10 +0530 Subject: [PATCH] add new promo text filters --- package.json | 2 +- src/methods/clean-reply.method.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3152032..df4233d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ecency/render-helper", - "version": "2.2.26", + "version": "2.2.27", "description": "Markdown+Html Render helper", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/src/methods/clean-reply.method.ts b/src/methods/clean-reply.method.ts index ed89db7..ec2b29c 100644 --- a/src/methods/clean-reply.method.ts +++ b/src/methods/clean-reply.method.ts @@ -5,7 +5,8 @@ export function cleanReply(s: string): string { .filter(item => item.toLowerCase().includes('posted using [leofinance') === false) .filter(item => item.toLowerCase().includes('posted via [neoxian') === false) .filter(item => item.toLowerCase().includes('posted with [stemgeeks') === false) - .filter(item => item.toLowerCase().includes('posted using [bilpcoin') === false) + .filter(item => item.toLowerCase().includes('posted using [bilpcoin') === false) + .filter(item => item.toLowerCase().includes('Posted Using [InLeo') === false) .filter(item => item.toLowerCase().includes('
[posted using aeneas.blog') === false) .filter(item => item.toLowerCase().includes('
posted via [proofofbrain.io') === false) .filter(item => item.toLowerCase().includes('
posted on [hypnochain') === false)