Formatting text with links breaks in rich-text editor (RTE)

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Summary

In the rich-text editor (RTE), when submitting content that has a link that has formatting (such as bold, italic, or strikethrough), the formatting breaks.

Steps to reproduce

  1. Open a text area with the rich-text editor (e.g. issue description or comment).
  2. Enter text and a link (e.g. “Test link”).
  3. Apply formatting to the whole content, such as bold, italic, or strikethrough.
  4. Submit the form.

What is the current bug behavior?

Before submitting After submitting In plain-text editor
CleanShot 20250120180728@2x.png CleanShot 20250120180740@2x.png CleanShot 20250120180736@2x.png

What is the expected correct behavior?

The formatting should be applied correctly.

Output of checks

This bug happens on GitLab.com

Edited Jun 24, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading