From 9462d7a8feeec89a5be334dbddde7d17e67f5188 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Fri, 8 Dec 2023 14:27:09 -0600 Subject: [PATCH] typogrify: Ignore possible years when creating Unicode fractions --- se/typography.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/se/typography.py b/se/typography.py index f0d1b495..d2a0b7d9 100644 --- a/se/typography.py +++ b/se/typography.py @@ -314,7 +314,8 @@ def typogrify(xhtml: str, smart_quotes: bool = True) -> str: xhtml = regex.sub(r"\b(?