feat: ship creator journey v2 and profile updates
This commit is contained in:
@@ -33,6 +33,13 @@ test('render returns empty string for whitespace-only input', function () {
|
||||
expect(ContentSanitizer::render(' '))->toBe('');
|
||||
});
|
||||
|
||||
test('render preserves emoji characters in output', function () {
|
||||
$html = ContentSanitizer::render('Love this piece 🚀🔥');
|
||||
|
||||
expect($html)->toContain('🚀')
|
||||
->and($html)->toContain('🔥');
|
||||
});
|
||||
|
||||
// ── XSS Prevention ────────────────────────────────────────────────────────────
|
||||
|
||||
test('render strips script tags', function () {
|
||||
|
||||
Reference in New Issue
Block a user