diff options
author | Marcin Kuzminski <marcin@python-works.com> | 2013-01-10 02:50:39 +0100 |
---|---|---|
committer | Marcin Kuzminski <marcin@python-works.com> | 2013-01-10 02:50:39 +0100 |
commit | a3f2a309ab49a741186ac450b349de62f75066aa (patch) | |
tree | f09bfb33c5d5ee523a11f74a5e4b9788b5856561 /rhodecode | |
parent | 8dee834b616316a64dae3a831d8a7c976b848d79 (diff) |
fixes issue #715 Meta-Tagging [requires => Repo-123] not working
--HG--
branch : beta
Diffstat (limited to 'rhodecode')
-rw-r--r-- | rhodecode/lib/helpers.py | 2 |
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 => \\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 => <a href="/\\2">\\2</a></div>', value) value = re.sub(r'\[(lang|language)\ \=\>\ *([a-zA-Z\-\/\#\+]*)\]', '<div class="metatag" tag="lang">\\2</div>', value) |