diff options
author | Waylan Limberg <waylan.limberg@icloud.com> | 2020-06-25 15:34:51 -0400 |
---|---|---|
committer | Waylan Limberg <waylan.limberg@icloud.com> | 2020-06-30 14:36:01 -0400 |
commit | 706d1fd096a49df0662a181f9dae726edefff43f (patch) | |
tree | c69d4d8500cc171118eda319a748ce498c439dd6 /tests/test_legacy.py | |
parent | 071c4f1420ac3c80ad621522b9996bcc1cd94bcf (diff) | |
download | python-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.py | 2 |
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={ |