We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 48bb1dd + b8a8787 commit 85f0973Copy full SHA for 85f0973
1 file changed
src/components/GridItem/Reference.astro
@@ -20,7 +20,7 @@ const { item } = Astro.props;
20
</p>
21
<p class="text-sm mt-xxs">
22
{
23
- `${item.data.description.replace(/<[^>]*>/g, "").split(/\.(\s|$)/, 1)[0]}.`
+ `${item.data.description.replace(/<[^>]*>/g, "").split(/(\.|。)(\s|$)/, 1)[0]}.`
24
}
25
26
</a>
0 commit comments