Skip to content

Commit

Permalink
filter add
Browse files Browse the repository at this point in the history
  • Loading branch information
feruzm committed Oct 3, 2024
1 parent d94448d commit fc804de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ecency/render-helper",
"version": "2.2.34",
"version": "2.2.35",
"description": "Markdown+Html Render helper",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions src/methods/clean-reply.method.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export function cleanReply(s: string): string {
.filter(item => item.toLowerCase().includes('▶️ [watch on 3speak](https://3speak') === false)
.filter(item => item.toLowerCase().includes('<sup><sub>posted via [inji.com]') === false)
.filter(item => item.toLowerCase().includes('view this post on [liketu]') === false)
.filter(item => item.toLowerCase().includes('[via Inbox]') === false)
.join('\n') : '')
.replace('Posted via <a href="https://d.buzz" data-link="promote-link">D.Buzz</a>', '')
.replace('<div class="pull-right"><a href="/@hive.engage">![](https://i.imgur.com/XsrNmcl.png)</a></div>', '')
Expand Down

0 comments on commit fc804de

Please sign in to comment.