From e2fb8827a757ac75f2c2415942eb1b34031419a8 Mon Sep 17 00:00:00 2001 From: Zefir Date: Sun, 30 Jul 2023 23:19:42 +0300 Subject: [PATCH] Use en dash for versions range instead of em dash (#1246) --- plugins/shorthands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/shorthands.js b/plugins/shorthands.js index d8689eeb6..6eb18986d 100644 --- a/plugins/shorthands.js +++ b/plugins/shorthands.js @@ -314,7 +314,7 @@ export const formatVersions = (versionArray) => { for (const interval of newIntervals) { if (interval.length === 2) { - output.push(`${interval[0][0]}—${interval[1][0]}`) + output.push(`${interval[0][0]}–${interval[1][0]}`) } else { output.push(interval[0][0]) }