Skip to content
Snippets Groups Projects

fix #520, render usernames containing custom emoji in welcome toast properly

Merged Tess K requested to merge tess/Sharkey:bugfix/520-welcome-message-custom-emoji into develop

What does this PR do? This PR fixes rendering of usernames containing custom emojis in the "Welcome Back, ${username}" toast message by wrapping the MkToast message in an Mfm tag. The plain argument for the m makes sure that for example "\n" won't get converted to a br element.

Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines
  • I have made sure to test this pull request

Before:

Welcome_back__Super_cool

After:

Welcome_back__Super_cool

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading