aboutsummaryrefslogtreecommitdiffstats
path: root/markdown/extensions
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2016-06-13 18:19:31 +0300
committerDmitry Shachnev <mitya57@gmail.com>2016-06-13 18:19:31 +0300
commit4fc04c6477914e26d8164b65238435c891f00108 (patch)
tree8c4e56ce5b37d24dd64d44da18276b61dd0da49d /markdown/extensions
parenta96fee0591de5f3b628503591d1cad9d23d26140 (diff)
downloadmarkdown-4fc04c6477914e26d8164b65238435c891f00108.tar.gz
markdown-4fc04c6477914e26d8164b65238435c891f00108.tar.bz2
markdown-4fc04c6477914e26d8164b65238435c891f00108.zip
Fix another issue with attribute lists (with multiple ‘=’ signs)
Diffstat (limited to 'markdown/extensions')
-rw-r--r--markdown/extensions/attr_list.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/markdown/extensions/attr_list.py b/markdown/extensions/attr_list.py
index de39944..ccc5b2f 100644
--- a/markdown/extensions/attr_list.py
+++ b/markdown/extensions/attr_list.py
@@ -32,17 +32,17 @@ except AttributeError: # pragma: no cover
def _handle_double_quote(s, t):
- k, v = t.split('=')
+ k, v = t.split('=', 1)
return k, v.strip('"')
def _handle_single_quote(s, t):
- k, v = t.split('=')
+ k, v = t.split('=', 1)
return k, v.strip("'")
def _handle_key_value(s, t):
- return t.split('=')
+ return t.split('=', 1)
def _handle_word(s, t):