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 9d7fe04 commit be8dd6aCopy full SHA for be8dd6a
src/build/mdn-comments.ts
@@ -29,7 +29,7 @@ function extractSummary(markdown: string): string {
29
// Keep link text but remove URLs
30
.replace(/\[(.*?)\]\(.*?\)/g, "$1")
31
.replace(/"/g, "'")
32
- .trim()
+ .trim();
33
34
// Extract the first sentence (ending in . ! or ?)
35
const sentenceMatch = normalizedText.match(/(.*?[.!?])(?=\s|$)/);
0 commit comments