Skip to content

Commit

Permalink
Fixed heavily truncated description for APIs and Products (#2386)
Browse files Browse the repository at this point in the history
  • Loading branch information
malincrist authored Jan 30, 2024
1 parent 9f4d773 commit 0e1a8ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/markdownService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0e1a8ea

Please sign in to comment.