mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-04 03:21:18 +01:00
fix: #12866 again, more tests
This commit is contained in:
@@ -133,6 +133,12 @@ describe('ActivityPub integration', () => {
|
||||
// Content after line breaks can be discarded
|
||||
['<p>Intro text<br /><a href=\"https://example.org/\">example.org/</span></a></p><p>more text</p>', 'Intro text'],
|
||||
|
||||
// HTML without outer wrapping element
|
||||
['Lorem ipsum dolor <span>sit amet</span>', 'Lorem ipsum dolor sit amet'],
|
||||
|
||||
// Two sentences with punctuation
|
||||
['Lorem ipsum. Dolor sit amet.', 'Lorem ipsum.'],
|
||||
|
||||
// Additional tests?
|
||||
// ['', ''],
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user