summaryrefslogtreecommitdiff
path: root/lib/VNDBUtil.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VNDBUtil.pm')
-rw-r--r--lib/VNDBUtil.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDBUtil.pm b/lib/VNDBUtil.pm
index f28ff7f7..f5650d6d 100644
--- a/lib/VNDBUtil.pm
+++ b/lib/VNDBUtil.pm
@@ -100,8 +100,8 @@ sub bb2html {
$result .= '</a>';
pop @open;
next;
- } elsif($tag =~ s{\[url=((https?://|/)[^\]>]+)\]}{<a href="$1" rel="nofollow">}i) {
- $result .= $tag;
+ } elsif($match =~ s{\[url=((https?://|/)[^\]>]+)\]}{<a href="$1" rel="nofollow">}i) {
+ $result .= $match;
push @open, 'url';
next;
}