Skip to content

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
Screenshot_2023-03-10_at_3.25.18_PM Screenshot_2023-03-10_at_3.26.46_PM

How to set up and validate locally

  1. Login as admin
  2. Go to Menu > Admin > Messages and create some new messages with supported markups, for example: **This is** a test message <br>please ignore :wave:
  3. 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.

Edited by Roy Liu

Merge request reports