Skip to contentOpen History to see the last commit
PullRequestTimeline.logic.ts
5 lines213 Bytes
1import { splitsSurrogatePair } from "@t3tools/shared/assistantCitations"; 3export function collapsedTimelineCommentMarkdown(body: string) { 4 return body.slice(0, splitsSurrogatePair(body, 1200) ? 1199 : 1200);