We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0160faf commit 80aeb7cCopy full SHA for 80aeb7c
app/composables/useMarkdown.ts
@@ -40,7 +40,6 @@ function stripAndEscapeHtml(text: string, packageName?: string): string {
40
(match, codeSpan: string | undefined) => codeSpan ?? '',
41
)
42
43
- // Strip HTML comments: <!-- ... --> (including unclosed comments from truncation)
44
// Strip HTML comments: <!-- ... --> (including unclosed comments from truncation)
45
stripped = stripped.replace(
46
/(`[^`]*`)|<!--[\s\S]*?(-->|$)/g,
0 commit comments