allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [allura] 13/17: [#8325] upgrade markdown to 2.6.x
Date Wed, 21 Aug 2019 21:41:20 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 44a555e71dd4a95b82c362028dba54a0f7376581
Author: Dave Brondsema <dave@brondsema.net>
AuthorDate: Wed Aug 21 13:41:02 2019 -0400

    [#8325] upgrade markdown to 2.6.x
---
 Allura/allura/lib/markdown_extensions.py | 2 +-
 requirements.in                          | 2 +-
 requirements.txt                         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Allura/allura/lib/markdown_extensions.py b/Allura/allura/lib/markdown_extensions.py
index 07e51d4..a8c38c4 100644
--- a/Allura/allura/lib/markdown_extensions.py
+++ b/Allura/allura/lib/markdown_extensions.py
@@ -515,7 +515,7 @@ class AutolinkPattern(markdown.inlinepatterns.Pattern):
         result.text = old_link
         # since this is run before the builtin 'escape' processor, we have to
         # do our own unescaping
-        for char in markdown.Markdown.ESCAPED_CHARS:
+        for char in self.markdown.ESCAPED_CHARS:
             old_link = old_link.replace('\\' + char, char)
         result.set('href', old_link)
         return result
diff --git a/requirements.in b/requirements.in
index 4130800..f486dd1 100644
--- a/requirements.in
+++ b/requirements.in
@@ -15,7 +15,7 @@ FormEncode
 GitPython==2.1.11
 html5lib==1.0.1
 Jinja2==2.10
-Markdown<2.6
+Markdown<3
 markdown-checklist==0.4.1
 MarkupSafe
 Ming==0.5.6
diff --git a/requirements.txt b/requirements.txt
index 71ae7a2..d70a913 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -49,7 +49,7 @@ isort==4.3.21             # via pylint
 jinja2==2.10
 lazy-object-proxy==1.4.1  # via astroid
 markdown-checklist==0.4.1
-markdown==2.5.2
+markdown==2.6.11
 markupsafe==1.1.1
 mccabe==0.6.1             # via pylint
 ming==0.5.6


Mime
View raw message