Skip to content

[Bug] Comment text hidden when mentions are present #219

Description

@eldoctormail

Problem

When a comment contains one or more @mentions, the surrounding plain text is not rendered for users who receive the notification — only the mention itself (@name) is visible.

Root cause

In renderContentWithMentions, plain text segments between mentions were pushed as raw strings into the parts array:

parts.push(content.slice(lastIndex, match.index)); // raw string

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions