From d94fb73ddf17ca0a10f1314b5269d2564900a799 Mon Sep 17 00:00:00 2001 From: Cristina Malin Date: Mon, 29 Jan 2024 16:06:20 +0100 Subject: [PATCH] Fixed heavily truncated description for APIs and Products --- src/services/markdownService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/markdownService.ts b/src/services/markdownService.ts index 96b9bb7bb..2b5985801 100644 --- a/src/services/markdownService.ts +++ b/src/services/markdownService.ts @@ -29,7 +29,7 @@ export class MarkdownService { }) .use(rehypeStringify) .process(markdown, (err: any, html: any) => { - processedHtml = truncate(html.value, length, { truncateLastWord: false, keepImageTag: true }); + processedHtml = truncate(html.value, length, { keepImageTag: true }); }); return processedHtml;