summaryrefslogtreecommitdiff
path: root/smartypants.py
diff options
context:
space:
mode:
Diffstat (limited to 'smartypants.py')
-rwxr-xr-xsmartypants.py3
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