fix: #12866 again, more tests

This commit is contained in:
Julian Lam
2024-10-31 11:35:28 -04:00
parent 94e3490711
commit a59dae3f0a
2 changed files with 9 additions and 1 deletions

View File

@@ -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?
// ['', ''],
]);