aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Kuzminski <marcin@python-works.com>2013-01-10 02:50:39 +0100
committerMarcin Kuzminski <marcin@python-works.com>2013-01-10 02:50:39 +0100
commita3f2a309ab49a741186ac450b349de62f75066aa (patch)
treef09bfb33c5d5ee523a11f74a5e4b9788b5856561
parent8dee834b616316a64dae3a831d8a7c976b848d79 (diff)
fixes issue #715 Meta-Tagging [requires => Repo-123] not working
--HG-- branch : beta
-rw-r--r--rhodecode/lib/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhodecode/lib/helpers.py b/rhodecode/lib/helpers.py
index aa6696eb..2183ae69 100644
--- a/rhodecode/lib/helpers.py
+++ b/rhodecode/lib/helpers.py
@@ -464,7 +464,7 @@ def desc_stylize(value):
'<div class="metatag" tag="see">see =&gt; \\1 </div>', value)
value = re.sub(r'\[license\ \=\>\ *([a-zA-Z0-9\/\=\?\&\ \:\/\.\-]*)\]',
'<div class="metatag" tag="license"><a href="http:\/\/www.opensource.org/licenses/\\1">\\1</a></div>', value)
- value = re.sub(r'\[(requires|recommends|conflicts|base)\ \=\>\ *([a-zA-Z\-\/]*)\]',
+ value = re.sub(r'\[(requires|recommends|conflicts|base)\ \=\>\ *([a-zA-Z0-9\-\/]*)\]',
'<div class="metatag" tag="\\1">\\1 =&gt; <a href="/\\2">\\2</a></div>', value)
value = re.sub(r'\[(lang|language)\ \=\>\ *([a-zA-Z\-\/\#\+]*)\]',
'<div class="metatag" tag="lang">\\2</div>', value)