From: Philipp Date: Thu, 29 May 2025 17:11:42 +0000 (+0200) Subject: Merge remote-tracking branch 'origin/develop' into develop.randompenguin1 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7ca99aa194fd5ac0e1630205983f162b674f9720;p=friendica.git Merge remote-tracking branch 'origin/develop' into develop.randompenguin1 --- 7ca99aa194fd5ac0e1630205983f162b674f9720 diff --cc tests/src/Content/Text/BBCodeTest.php index 17f48ddae6,26c381c429..e51bb997d0 --- a/tests/src/Content/Text/BBCodeTest.php +++ b/tests/src/Content/Text/BBCodeTest.php @@@ -306,19 -306,14 +306,19 @@@ Karl Marx - Die ursprüngliche Akkumula 'expected' => '&`&`', 'text' => '&[code]&[/code]', ], - 'bug-12701-quotes' => [ + 'bug-12701-quotes' => [ 'expected' => '[![abc"fgh](https://domain.tld/photo/86912721086415cdc8e0a03226831581-1.png)](https://domain.tld/photos/user/image/86912721086415cdc8e0a03226831581)', - 'text' => '[url=https://domain.tld/photos/user/image/86912721086415cdc8e0a03226831581][img=https://domain.tld/photo/86912721086415cdc8e0a03226831581-1.png]abc"fgh[/img][/url]' + 'text' => '[url=https://domain.tld/photos/user/image/86912721086415cdc8e0a03226831581][img=https://domain.tld/photo/86912721086415cdc8e0a03226831581-1.png]abc"fgh[/img][/url]', ], - 'bug-12701-no-quotes' => [ + 'bug-12701-no-quotes' => [ 'expected' => '[![abcfgh](https://domain.tld/photo/86912721086415cdc8e0a03226831581-1.png "abcfgh")](https://domain.tld/photos/user/image/86912721086415cdc8e0a03226831581)', - 'text' => '[url=https://domain.tld/photos/user/image/86912721086415cdc8e0a03226831581][img=https://domain.tld/photo/86912721086415cdc8e0a03226831581-1.png]abcfgh[/img][/url]' + 'text' => '[url=https://domain.tld/photos/user/image/86912721086415cdc8e0a03226831581][img=https://domain.tld/photo/86912721086415cdc8e0a03226831581-1.png]abcfgh[/img][/url]', ], + /** @see https://github.com/friendica/friendica/pull/14908 */ + 'task-14908-strip-tags' => [ + 'expected' => 'Norddeutscher Bürger !\[Noddeutscher Bürger - Bismark Brötchen (Roger Cziwerny - pixapay)\](/rscamo/……)', + 'text' => '[class=postbox-ocean]Norddeutscher Bürger ![Noddeutscher Bürger - Bismark Brötchen (Roger Cziwerny - pixapay)](/rscamo/……)[/class]', + ], ]; }