From 61c03e4b4e1afd7593a57119198dd38845485887 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 2 Aug 2024 07:17:54 +0000 Subject: fix html2bbcode table and add test --- tests/unit/includes/BBCodeTest.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/unit') diff --git a/tests/unit/includes/BBCodeTest.php b/tests/unit/includes/BBCodeTest.php index daa66bf72..30ea00ba6 100644 --- a/tests/unit/includes/BBCodeTest.php +++ b/tests/unit/includes/BBCodeTest.php @@ -266,6 +266,10 @@ class BBCodeTest extends UnitTestCase { 'del tag' => [ 'some strike through text', 'some [s]strike through[/s] text' + ], + 'table' => [ + '
row1, col1row1, col2
row2, col1row2, col2
', + '[table][tr][td]row1, col1[/td][td]row1, col2[/td][/tr][tr][td]row2, col1[/td][td]row2, col2[/td][/tr][/table]' ] ]; } -- cgit v1.2.3