diff --git a/package.json b/package.json index f0f4f01..f85b1cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ecency/render-helper", - "version": "2.2.29", + "version": "2.2.30", "description": "Markdown+Html Render helper", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/src/markdown-2-html.spec.ts b/src/markdown-2-html.spec.ts index f776959..93a319d 100644 --- a/src/markdown-2-html.spec.ts +++ b/src/markdown-2-html.spec.ts @@ -812,7 +812,7 @@ describe('Markdown2Html', () => { author: 'foo358', permlink: 'bar358', last_update: '2021-08-18T09:15:49', - body: `
It's a Secret, But is it good to have secrets?
+ body: `
It's a Secret, But is it good to have secrets?
https://peakd.com/hive-123046/@ecotrain/ecotrain-question-of-the-week-season-5-1tie-up-post-it-s-a-secret-but-is-it-good-to-have-secrets
It\'s a Secret, But is it good to have secrets?
/@ecotrain/ecotrain-question-of-the-week-season-5-1tie-up-post-it-s-a-secret-but-is-it-good-to-have-secrets
this is link @godfish/close-range-reflections
' + + expect(markdown2Html(input, false)).toBe(expected) + }) }) describe("Rumble support", () => { diff --git a/src/methods/clean-reply.method.ts b/src/methods/clean-reply.method.ts index b3d4578..189c6b0 100644 --- a/src/methods/clean-reply.method.ts +++ b/src/methods/clean-reply.method.ts @@ -7,6 +7,7 @@ export function cleanReply(s: string): string { .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 [inleo') === false) + .filter(item => item.toLowerCase().includes('posted using [sportstalksocial]') === false) .filter(item => item.toLowerCase().includes('