Skip to content

Commit e798cfc

Browse files
committed
tests: also test AdvancedTemplateBBCode with quoted attribute value
1 parent 09f3806 commit e798cfc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/components/bbcode/AdvancedTemplateBBCode.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
-------------------------------------------------------------------------------
33
This file is part of the Private Message Database test suite.
4-
Copyright (C) 2015, 2022 Dirk Stolle
4+
Copyright (C) 2015, 2022, 2025 Dirk Stolle
55
66
This program is free software: you can redistribute it and/or modify
77
it under the terms of the GNU General Public License as published by
@@ -42,6 +42,8 @@ TEST_CASE("AdvancedTemplateBBCode")
4242
tests["[Tag=abc]123[/Tag]"] = "<tag value=\"abc\">123</tag>";
4343
// mixed case code
4444
tests["[TaG=def]123[/tAg]"] = "<tag value=\"def\">123</tag>";
45+
// simple code with quoted attribute
46+
tests["[tag=\"abc\"]123[/tag]"] = "<tag value=\"abc\">123</tag>";
4547
// letters inside
4648
tests["[tag=qwert]abcdefgh[/tag]"] = "<tag value=\"qwert\">abcdefgh</tag>";
4749
// HTML entity inside - should not get escaped

0 commit comments

Comments
 (0)