From cf0ad69d7fc653a05a15c72c644058b6ca0aba2c Mon Sep 17 00:00:00 2001 From: Daniel Fancsali Date: Sun, 19 Jan 2020 14:28:37 +0000 Subject: [PATCH] Cover the default case too --- pelican/readers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pelican/readers.py b/pelican/readers.py index d21ef388..f7a49604 100644 --- a/pelican/readers.py +++ b/pelican/readers.py @@ -609,6 +609,8 @@ class Readers(FileStampDataCacher): smartypants.Attr.default = smartypants.Attr.set2 elif typogrify_dashes == 'oldschool_inverted': smartypants.Attr.default = smartypants.Attr.set3 + else: + smartypants.Attr.default = smartypants.Attr.set1 # Tell `smartypants` to also replace " HTML entities with # smart quotes. This is necessary because Docutils has already