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 2018/09/13 19:24:07 UTC
[03/12] allura git commit: Remove parantheses
Remove parantheses
Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/bda5848a
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/bda5848a
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/bda5848a
Branch: refs/heads/master
Commit: bda5848a0b9e1604cc1c85a975fdab05b423a80a
Parents: 5471298
Author: Shalitha <sh...@gmail.com>
Authored: Mon Sep 10 21:02:11 2018 +0530
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Thu Sep 13 19:18:27 2018 +0000
----------------------------------------------------------------------
Allura/allura/lib/markdown_extensions.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura/blob/bda5848a/Allura/allura/lib/markdown_extensions.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/markdown_extensions.py b/Allura/allura/lib/markdown_extensions.py
index ab5a06f..7b747b7 100644
--- a/Allura/allura/lib/markdown_extensions.py
+++ b/Allura/allura/lib/markdown_extensions.py
@@ -290,7 +290,7 @@ class ForgeLinkPattern(markdown.inlinepatterns.LinkPattern):
except IndexError:
href = m.group(2)
is_link_with_brackets = True
- if(el.text == 'x' or el.text == ' '):
+ if el.text == 'x' or el.text == ' ':
return '[' + el.text + ']'
try:
title = m.group(13)