Skip to content

Commit 04edadb

Browse files
committed
Update mdn-comments.ts
1 parent c7cb4c4 commit 04edadb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build/mdn-comments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function extractSummary(markdown: string): string {
2929
// Keep link text but remove URLs
3030
.replace(/\[(.*?)\]\(.*?\)/g, "$1")
3131
.replace(/"/g, "'")
32-
.trim()
32+
.trim();
3333

3434
// Extract the first sentence (ending in . ! or ?)
3535
const sentenceMatch = normalizedText.match(/(.*?[.!?])(?=\s|$)/);

0 commit comments

Comments
 (0)