### Answer
This is a known issue that other users have reported—the Chat Widget on embedded websites does not render formatting (newlines, numbered lists, markdown) the same way the Retell Dashboard test chat does. [(1) ](
) [(2) ](
)
Current state:
- The official Chat Widget documentation does not include any attribute or setting to enable Markdown rendering or preserve newlines. [(3) ](
)
- Users have observed that webhook data shows properly formatted output (with newlines, bullets, etc.) , but the widget itself collapses everything into a single paragraph. [(1) ](
) [(2) ](
)
- This appears to be a rendering limitation within the widget itself rather than an issue with the agent's output.
What you can try:
- Some community members have suggested prompting for raw/plain text or JSON format, though results have been inconsistent. [(2) ](
)
- CSS approaches like
white-space: pre-line
or
pre-wrap
have been attempted without confirmed success. [(1) ](
)
Recommendation:
Since there's no documented widget option or flag to enable proper formatting, I'd suggest submitting a feature request or bug report to Retell directly. This issue has been raised in the community forum and appears to be a missing feature on Retell's side.
Check out these potentially useful sources:
- [Retell Website Widget](