forcedotcom / forcedotcom/ConnectApiHelper

Issue: Anchor Tags (<a> Tags) Displaying as Raw HTML in Email Notifications

Open
#38 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Apex
Stars
105
Forks
81
PR merge metrics
No merged PRs in 30d

Description

When posting rich text content through ConnectApi.ChatterFeeds.postFeedElement, any hyperlinks

![Image](https://github.com/user-attachments/assets/a823a2b9-5392-4e03-a696-17acd5bd2e54)

included in the message body are correctly displayed in Chatter. However, when the same content is sent as an email notification, the anchor tags appear as raw HTML instead of rendering as clickable links.

For example, in Chatter, the message appears correctly as:
LINK (Clicking redirects to the intended URL)

But in email notifications, it appears as attached :

This makes the email unreadable and causes formatting issues.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with ConnectApi.ChatterFeeds.postFeedElement using a message containing a hyperlink, then compare its Chatter rendering with the email notification. Trace the ConnectApiHelper path involved and determine what behavior is required for the email to render the link rather than display anchor markup as text.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.