summaryrefslogtreecommitdiff
path: root/markdown/extensions/legacy_em.py
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2015-06-21 21:21:49 -0400
committerWaylan Limberg <waylan.limberg@icloud.com>2015-06-21 21:21:49 -0400
commit3c69b0fb1d86f68a337bf3bd9b4a86b30a5fe6bf (patch)
tree6972f33b04d940e77486818e6676755550817107 /markdown/extensions/legacy_em.py
parentde76d24283aa62a81e2c4529c4d90fb388ddd26d (diff)
downloadpython-markdown-inline.tar.gz
Fixed many failing tests in inline refactor. Still a ways to go.inline
Diffstat (limited to 'markdown/extensions/legacy_em.py')
-rw-r--r--markdown/extensions/legacy_em.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/markdown/extensions/legacy_em.py b/markdown/extensions/legacy_em.py
index 47963a8..54d2028 100644
--- a/markdown/extensions/legacy_em.py
+++ b/markdown/extensions/legacy_em.py
@@ -15,8 +15,8 @@ from __future__ import unicode_literals
from . import Extension
from ..inlinepatterns import SimpleTagPattern
-EMPHASIS_RE = r'(\*|_)(.+?)\2'
-STRONG_RE = r'(\*{2}|_{2})(.+?)\2'
+EMPHASIS_RE = r'(\*|_)(.+?)\1'
+STRONG_RE = r'(\*{2}|_{2})(.+?)\1'
class LegacyEmExtension(Extension):