discourse/app
Penar Musaraj f6670aecfd
DEV: Fix preview sanitization test (#21521)
This test was passing, but the environment it was testing was incorrect.
The `image-controls` markdown rule allowlists several svgs when previewing.
But since `previewing: true` is only set on the parent `ComposerEditor`
component, the test in `DEditor` wasn't aware of that, so the output was
ignoring the `previewing` option.

This moves the test one level higher, to `ComposerEditor`, and because
now `previewing: true` is correctly used, it updates the test to show
that the svg element is present, but an `onload` attributes is stripped.
2023-05-16 11:06:05 -04:00
..
assets DEV: Fix preview sanitization test (#21521) 2023-05-16 11:06:05 -04:00
controllers FEATURE: Show user cards for inactive users (#21387) 2023-05-15 21:45:26 +03:00
helpers UX: Improve login required page (#20847) 2023-03-28 07:09:44 -05:00
jobs FEATURE: Add new notification for admin problems (#21287) 2023-05-03 19:35:22 +03:00
mailers FIX: Likes received count in digest email (#21458) 2023-05-09 19:19:26 +02:00
models DEV: Set limit for Invite#custom_message 2023-05-15 09:55:28 +02:00
serializers FEATURE: Show user cards for inactive users (#21387) 2023-05-15 21:45:26 +03:00
services FIX: Handle all UTF-8 characters (#21344) 2023-05-15 12:45:04 +03:00
views FIX: Likes received count in digest email (#21458) 2023-05-09 19:19:26 +02:00