Files
vikunja/pkg
kolaente d617e44982 feat: format user mentions with display names in email notifications
When users are mentioned in task descriptions or comments, email notifications
now show the user's display name (e.g., "@John Doe") instead of just the
username or invisible HTML tags.

Changes:
- Add formatMentionsForEmail() function to parse mention-user tags and replace
  them with <strong>@DisplayName</strong> for email rendering
- Extract display name from data-label attribute, with fallback to data-id
- Update TaskCommentNotification.ToMail() to format mentions in comments
- Update UserMentionedInTaskNotification.ToMail() to format mentions in task
  descriptions
- Add comprehensive test coverage (30+ test cases) for all edge cases including
  special characters, unicode, emoji, old/new mention formats, and HTML
  preservation

The implementation is backward compatible with the old mention format and
gracefully handles malformed HTML by returning the original content unchanged.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 00:25:56 +01:00
..
2025-12-04 11:10:19 +01:00
2025-07-21 18:15:39 +02:00
2025-11-25 22:32:39 +00:00
2025-11-27 14:22:39 +00:00