summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-08-31 08:57:19 +0200
committerYorhel <git@yorhel.nl>2020-08-31 08:57:19 +0200
commit537c335f9df183398aee435246afefb322069aa7 (patch)
tree2e9fced9138005b3ca9c6633ca8fde8825b9f9bd /util
parent287e2ebd2aa012e992dc2f2b755ceb74298a95f3 (diff)
BBCode: Add support for w+ and w+.+ dblinks
Diffstat (limited to 'util')
-rwxr-xr-xutil/bbcode-test.pl12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/bbcode-test.pl b/util/bbcode-test.pl
index d08f70c9..230277b5 100755
--- a/util/bbcode-test.pl
+++ b/util/bbcode-test.pl
@@ -117,17 +117,17 @@ my @tests = (
'some text <b class="spoiler">with (<a href="/v17">v17</a>) tags</b> and internal ids such as <a href="/s1">s1</a>',
'some text and internal ids such as s1',
- 'r12.1 v6.3 s1.2',
- '<a href="/r12.1">r12.1</a> <a href="/v6.3">v6.3</a> <a href="/s1.2">s1.2</a>',
- 'r12.1 v6.3 s1.2',
+ 'r12.1 v6.3 s1.2 w5.3',
+ '<a href="/r12.1">r12.1</a> <a href="/v6.3">v6.3</a> <a href="/s1.2">s1.2</a> <a href="/w5.3">w5.3</a>',
+ 'r12.1 v6.3 s1.2 w5.3',
'd3 d1.3 d2#4 d5#6.7',
'<a href="/d3">d3</a> <a href="/d1.3">d1.3</a> <a href="/d2#4">d2#4</a> <a href="/d5#6.7">d5#6.7</a>',
'd3 d1.3 d2#4 d5#6.7',
- 'v17 text dds16v21 more text1 v9 _d5_ d3-',
- '<a href="/v17">v17</a> text dds16v21 more text1 <a href="/v9">v9</a> _d5_ d3-',
- 'v17 text dds16v21 more text1 v9 _d5_ d3-',
+ 'v17 text dds16v21 more text1 v9 _d5_ d3- m10',
+ '<a href="/v17">v17</a> text dds16v21 more text1 <a href="/v9">v9</a> _d5_ d3- m10',
+ 'v17 text dds16v21 more text1 v9 _d5_ d3- m10',
# https://vndb.org/t2520.233
'[From[url=http://densetsu.com/display.php?id=468&style=alphabetical] Anime Densetsu[/url]]',