You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2022/02/09 16:20:30 UTC

[allura] 08/11: [#8408] upgrade to markdown 3.1

This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch db/8408
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 5a2acdb830e8810900e379f4d67bce84b9e4e85a
Author: Dave Brondsema <db...@slashdotmedia.com>
AuthorDate: Tue Jan 18 13:11:58 2022 -0500

    [#8408] upgrade to markdown 3.1
---
 Allura/allura/tests/test_helpers.py | 1 -
 requirements.txt                    | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/Allura/allura/tests/test_helpers.py b/Allura/allura/tests/test_helpers.py
index 535b525..d57b598 100644
--- a/Allura/allura/tests/test_helpers.py
+++ b/Allura/allura/tests/test_helpers.py
@@ -270,7 +270,6 @@ def test_render_any_markup_plain():
 
 
 def test_render_any_markup_formatting():
-    # this is broken until markdown 3.1 fixes it again
     assert_equals(str(h.render_any_markup('README.md', '### foo\n'
                                           '    <script>alert(1)</script> bar')),
                   '<div class="markdown_content"><h3 id="foo">foo</h3>\n'
diff --git a/requirements.txt b/requirements.txt
index 8f0ec4f..d2ed980 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -73,7 +73,7 @@ iso8601==0.1.16
     # via colander
 jinja2==3.0.2
     # via -r requirements.in
-markdown==3.0.1
+markdown==3.1.1
     # via
     #   -r requirements.in
     #   markdown-checklist