Skip to content

Commit 4c986a2

Browse files
authored
Fixed heavily truncated description for APIs and Products (#2386)
1 parent 3a9078b commit 4c986a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/markdownService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class MarkdownService {
2929
})
3030
.use(rehypeStringify)
3131
.process(markdown, (err: any, html: any) => {
32-
processedHtml = truncate(html.value, length, { truncateLastWord: false, keepImageTag: true });
32+
processedHtml = truncate(html.value, length, { keepImageTag: true });
3333
});
3434

3535
return processedHtml;

0 commit comments

Comments
 (0)