Add test for a paragraph with a mention and some text

This commit is contained in:
Mario
2024-02-13 13:01:09 +00:00
parent 2c93294eea
commit 1fa59df6f3

View File

@@ -53,6 +53,10 @@ class BBCodeTest extends UnitTestCase {
"<pre><code>some\n indented\ncode</code></pre>",
"[code]some\n indented\ncode[/code]"
],
'paragraph with a mention and some text' => [
'<p><span class="h-card" translate="no"><a href="https://example.org/@profile" class="u-url mention">@<span>profile</span></a></span> some content</p>',
'[url=https://example.org/@profile]@profile[/url] some content'
]
];
}
}