From cefeee17ad89c5e7241e7a2ebef946c2c1e1fd05 Mon Sep 17 00:00:00 2001 From: Marc Foley Date: Wed, 22 Jan 2025 11:14:52 +0000 Subject: [PATCH] tags.html: no range if min and max are same --- .ci/tags.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.ci/tags.html b/.ci/tags.html index 3380df1f7..f20b19a29 100644 --- a/.ci/tags.html +++ b/.ci/tags.html @@ -169,7 +169,11 @@ const fontAxes = this.axes.map(axis => axis.name) tag.push(fontAxes.join("|") + "@"); this.axes.forEach(ax => { - tag.push(`${ax.min}..${ax.max}|`); + if (ax.min === ax.max) { + tag.push(`${ax.min}|`); + } else { + tag.push(`${ax.min}..${ax.max}|`); + } }); return tag.join("").slice(0, -1); } -- 2.47.2