From 90d434ec7310d34d131993453167d6a385ab499b Mon Sep 17 00:00:00 2001 From: simon987 Date: Tue, 16 Nov 2021 15:32:24 -0500 Subject: [PATCH] Add more single quotes --- hexlib/text.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hexlib/text.py b/hexlib/text.py index bc660ee..1cd08cb 100644 --- a/hexlib/text.py +++ b/hexlib/text.py @@ -56,7 +56,7 @@ def _transform_trigram(ngram_seq, ngrams): yield ngram[0] -SINGLE_QUOTES = ("’", "`") +SINGLE_QUOTES = ("’", "`", "‘") SINGLE_QUOTE_TRANS = str.maketrans("".join(SINGLE_QUOTES), "".join(repeat("'", len(SINGLE_QUOTES)))) DASHES = ("–", "⸺", "–", "—") diff --git a/setup.py b/setup.py index 073c7ea..9a13c4b 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup( name="hexlib", - version="1.69", + version="1.70", description="Misc utility methods", author="simon987", author_email="me@simon987.net",