From b3c3c0de452a66bb879d93094112ff3b090db706 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Mon, 28 Mar 2022 22:28:55 -0500 Subject: [PATCH] clean up the default markdown configuration a bit this brings the config a bit closer to my default, and updates the expectations of a test accordingly --- incorporealcms/config.py | 3 +-- tests/functional_tests.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/incorporealcms/config.py b/incorporealcms/config.py index c754013..cb443d7 100644 --- a/incorporealcms/config.py +++ b/incorporealcms/config.py @@ -32,10 +32,9 @@ class Config(object): }, } - MARKDOWN_EXTENSIONS = ['extra', 'sane_lists', 'smarty', 'tables'] + MARKDOWN_EXTENSIONS = ['extra', 'sane_lists', 'smarty', 'toc'] MARKDOWN_EXTENSION_CONFIGS = { 'extra': { - 'attr_list': {}, 'footnotes': { 'UNIQUE_IDS': True, }, diff --git a/tests/functional_tests.py b/tests/functional_tests.py index 6ccd58c..168ef70 100644 --- a/tests/functional_tests.py +++ b/tests/functional_tests.py @@ -7,7 +7,7 @@ def test_page_that_exists(client): """Test that the app can serve a basic file at the index.""" response = client.get('/') assert response.status_code == 200 - assert b'

test index

' in response.data + assert b'

test index

' in response.data def test_direct_file_that_exists(client):