]> git.mxchange.org Git - friendica.git/commitdiff
Add test for bug 7150
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 19 May 2019 18:57:28 +0000 (14:57 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 19 May 2019 22:52:01 +0000 (18:52 -0400)
tests/src/Content/Text/BBCodeTest.php

index 802a90278b9ec33c1b2070033b2ed4539fd0a531..864a3794d31f67a9588bd281125b34f6e8c8e984 100644 (file)
@@ -109,6 +109,10 @@ class BBCodeTest extends MockedTest
                                'data' => "http://example.com<ul>",
                                'assertHTML' => false
                        ],
+                       'bug-7150' => [
+                               'data' => html_entity_decode('http://example.com&nbsp;', ENT_QUOTES, 'UTF-8'),
+                               'assertHTML' => false
+                       ],
                ];
        }