You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by ke...@apache.org on 2019/09/04 19:15:18 UTC
[allura] 13/17: [#8325] upgrade markdown to 2.6.x
This is an automated email from the ASF dual-hosted git repository.
kentontaylor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git
commit 8fb929c7aaa689621e4f5c8f4e5a9dd35927a19c
Author: Dave Brondsema <da...@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