From 1fa59df6f329e8576f9b331a9d05d475e07e6930 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 13 Feb 2024 13:01:09 +0000 Subject: Add test for a paragraph with a mention and some text --- tests/unit/includes/BBCodeTest.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/unit/includes/BBCodeTest.php b/tests/unit/includes/BBCodeTest.php index 035bcbdc7..9fb7ffc2d 100644 --- a/tests/unit/includes/BBCodeTest.php +++ b/tests/unit/includes/BBCodeTest.php @@ -53,6 +53,10 @@ class BBCodeTest extends UnitTestCase { "
some\n    indented\ncode
", "[code]some\n indented\ncode[/code]" ], + 'paragraph with a mention and some text' => [ + '

@profile some content

', + '[url=https://example.org/@profile]@profile[/url] some content' + ] ]; } } -- cgit v1.2.3