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 174b76c commit c7cb4c4Copy full SHA for c7cb4c4
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