Files
clientflow_backend/RELEASE_NOTES_v4928_1_5_21.md

22 lines
856 B
Markdown

# v4928.1.5.21 — Chatwoot message formatting hotfix
## Fix
- Preserve operator-written line breaks when sending public messages to Chatwoot.
- Chatwoot renders message content as Markdown-like text, where single newlines can be collapsed into spaces.
- ClientFlow now formats outgoing Chatwoot messages with Markdown hard breaks before posting, so price lists and manually separated lines remain readable after sending.
## Scope
- Applies to public Chatwoot sends through:
- `send_public_message`
- `send_public_message_with_attachments`
- Does not change the editable draft shown to the operator.
- Does not alter the saved communication body in ClientFlow; the formatting is applied at the Chatwoot delivery boundary.
## Validation
- `python -m compileall -q app`
- `python -m pytest -q`
- Added tests for price-list line break preservation.