Resolve "Broadcast messages are not rendered in preview"
What does this MR do and why?
Related to #390203 (closed)
Broadcast messages support using certain Markdown, emoji and the a
and br
HTML tags, there's a bug after converting broadcast messages editor into Vue, that the message preview does not render these special markups. This MR attempts to fix that.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Login as admin
- Go to Menu > Admin > Messages and create some new messages with supported markups, for example:
**This is** a test message <br>please ignore :wave:
- Observe the preview
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Roy Liu