From 119d01a760ef67356d826bcb028dafae175fd482 Mon Sep 17 00:00:00 2001 From: Matthias Jung Date: Sun, 4 Jan 2026 17:59:32 +0400 Subject: [PATCH] fix: rendering problem with dash --- assets/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/script.js b/assets/script.js index 353885a..5ba40fd 100644 --- a/assets/script.js +++ b/assets/script.js @@ -2,7 +2,7 @@ document.addEventListener("DOMContentLoaded", function() { var macros = { ",": (context) => context.future()?.text === " " ? "{\\char`,}" : "\\char`,", "\\qty": "{#1\\,\\mathrm{#2}}", - "\\qtyrange": "{#1--#2\\,\\mathrm{#3}}", + "\\qtyrange": "{#1\\text{--}#2\\,\\mathrm{#3}}", "\\unit": "{\\mathrm{#1}}", "\\squared": "{^{2}}", "\\cubed": "{^{3}}",