MarkupHelper#link_to_html should produce single link when possible

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

  • Work on this issue
  • Close this issue

The following discussion from !18014 (merged) should be addressed:

  • @leipert started a discussion: (+4 comments)

    @harishsr This will actually render two links. Shouldn't it be:

    <a href="/foo">
      <gl-emoji title="open book" data-name="book" data-unicode-version="6.0">📖</gl-emoji> Book
    </a>

    instead?

Edited Sep 22, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading