From df7f5c13faab514b7ff8ea76635059b9c09629af Mon Sep 17 00:00:00 2001 From: Yorhel Date: Sun, 19 Dec 2010 09:29:29 +0100 Subject: VNDBUtil::bb2html(): Fixed bug with lowercasing all [url=..] URLs --- lib/VNDBUtil.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/VNDBUtil.pm') 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 .= ''; pop @open; next; - } elsif($tag =~ s{\[url=((https?://|/)[^\]>]+)\]}{}i) { - $result .= $tag; + } elsif($match =~ s{\[url=((https?://|/)[^\]>]+)\]}{}i) { + $result .= $match; push @open, 'url'; next; } -- cgit v1.2.3