Skip to content

Commit 80aeb7c

Browse files
authored
chore: trim
1 parent 0160faf commit 80aeb7c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/composables/useMarkdown.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ function stripAndEscapeHtml(text: string, packageName?: string): string {
4040
(match, codeSpan: string | undefined) => codeSpan ?? '',
4141
)
4242

43-
// Strip HTML comments: <!-- ... --> (including unclosed comments from truncation)
4443
// Strip HTML comments: <!-- ... --> (including unclosed comments from truncation)
4544
stripped = stripped.replace(
4645
/(`[^`]*`)|<!--[\s\S]*?(-->|$)/g,

0 commit comments

Comments
 (0)