summaryrefslogtreecommitdiff
path: root/tests/test_legacy.py
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2020-06-25 15:34:51 -0400
committerWaylan Limberg <waylan.limberg@icloud.com>2020-06-30 14:36:01 -0400
commit706d1fd096a49df0662a181f9dae726edefff43f (patch)
treec69d4d8500cc171118eda319a748ce498c439dd6 /tests/test_legacy.py
parent071c4f1420ac3c80ad621522b9996bcc1cd94bcf (diff)
downloadpython-markdown-706d1fd096a49df0662a181f9dae726edefff43f.tar.gz
Tune attr list regex
Ignore empty braces. Braces must contain at least one non-whitepsace character to be recognized as an attr list. Attr lists for table cells must be at the end of the cell content and must be seperated from the content by at least one space. This appears to be a breaking change. However, it is consistent with the behavior elsewhere. Fixes #898.
Diffstat (limited to 'tests/test_legacy.py')
-rw-r--r--tests/test_legacy.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test_legacy.py b/tests/test_legacy.py
index a3495a0..94fdd13 100644
--- a/tests/test_legacy.py
+++ b/tests/test_legacy.py
@@ -184,8 +184,6 @@ class TestExtensionsExtra(LegacyTestCase):
tables = Kwargs(extensions=['tables'])
- tables_and_attr_list = Kwargs(extensions=['tables', 'attr_list'])
-
extra_config = Kwargs(
extensions=['extra'],
extension_configs={