Skip to content

Commit 48ce852

Browse files
committed
fix: test result rewrite
1 parent 69fef53 commit 48ce852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ module.exports = {
378378
.trim();
379379
// Extract the first sentence (ending with . ! or ?) even if it spans multiple lines
380380
const sentenceMatch = contentText.match(/^(.*?[.!?])\s/);
381-
if (!result.frontMatter.description.endsWith('.')) result.frontMatter.description = sentenceMatch ? sentenceMatch[1].trim() : contentText;
381+
result.frontMatter.description = sentenceMatch ? sentenceMatch[1].trim() : contentText;
382382
}
383383

384384
return result;

0 commit comments

Comments
 (0)