diff options
author | Yorhel <git@yorhel.nl> | 2011-05-17 15:32:58 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2011-05-17 15:32:58 +0200 |
commit | e150502467dca3174d00685269af75f4cda76fcc (patch) | |
tree | 1db5aa6a24c349605d4cdf6d1b0059faab612caa | |
parent | b38c8beb321b3dc9819aafc811975e6700b556f8 (diff) |
Bugfix: Properly make i+ IDs linkable in bb2html()
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | lib/VNDBUtil.pm | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -2,6 +2,7 @@ - Multi::Feed: Show full summary and refresh more often - Switched back to Algorithm::Diff::XS - Added secondary ordering on title on releases listing on VN page + - Bugfix: Properly make i+ IDs linkable in bb2html() 2.20 - 2011-05-01 - Added support for sponsored links on VN pages diff --git a/lib/VNDBUtil.pm b/lib/VNDBUtil.pm index 76290013..7aa75bae 100644 --- a/lib/VNDBUtil.pm +++ b/lib/VNDBUtil.pm @@ -54,8 +54,8 @@ sub bb2html { }; while($raw =~ m{( - ([tdvpric][1-9][0-9]*\.[1-9][0-9]*) | # 2. exid - ([tdvprugc][1-9][0-9]*) | # 3. id + ([tdvprc][1-9][0-9]*\.[1-9][0-9]*) | # 2. exid + ([tdvprcugi][1-9][0-9]*) | # 3. id (\[[^\s\]]+\]) | # 4. tag ((?:https?|ftp)://[^><"\n\s\]\[]+[\d\w=/-]) # 5. url )}xg) { |