]> git.mxchange.org Git - friendica.git/commitdiff
Add test for new BBCode tag
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 18 Oct 2021 06:44:41 +0000 (02:44 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 18 Oct 2021 06:45:47 +0000 (02:45 -0400)
tests/src/Content/Text/BBCodeTest.php

index 730e0b6daec74db020abd2e3cdb2e0975cf951ab..cb17758c73be9907e62d696f6089e953b0bb7a5b 100644 (file)
@@ -292,6 +292,10 @@ Karl Marx - Die ursprüngliche Akkumulation
                                'try_oembed' => false,
                                'simpleHtml' => BBCode::TWITTER,
                        ],
+                       'task-10886-deprecate-class' => [
+                               'expectedHTML' => '<span class="mastodon emoji"><img src="https://fedi.underscore.world/emoji/custom/custom/heart_nb.png" alt=":heart_nb:" title=":heart_nb:"></span>',
+                               'text' => '[emoji=https://fedi.underscore.world/emoji/custom/custom/heart_nb.png]:heart_nb:[/emoji]',
+                       ]
                ];
        }