mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Cover the default case too
This commit is contained in:
parent
24ebf2c2f6
commit
cf0ad69d7f
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue