diff options
Diffstat (limited to 'smartypants.py')
-rwxr-xr-x | smartypants.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/smartypants.py b/smartypants.py index 9e4d038..33e5e94 100755 --- a/smartypants.py +++ b/smartypants.py @@ -488,8 +488,7 @@ def educateDashes(text): Convert ``--`` in *text* into em-dash HTML entities. """ - text = re.sub('---', '–', text) # en (yes, backwards) - text = re.sub('--', '—', text) # em (yes, backwards) + text = re.sub('--', '—', text) return text |