Describe the bug
When adding a comment with planecli comment create, newlines in --body are lost in the web UI: the whole comment renders as a single line/paragraph.
To Reproduce
planecli comment create PROJ-1 --body $'first line\nsecond line'
Then open the work item in the Plane web UI — the comment shows as first line second line (or one unbroken block), because the body is stored as raw HTML and plain \n is not a line break in HTML.
Expected behavior
Each line of --body renders on its own line, matching what the user typed.
Environment
- planecli 0.5.x
- Plane CE 1.4.2 (self-hosted)
Describe the bug
When adding a comment with
planecli comment create, newlines in--bodyare lost in the web UI: the whole comment renders as a single line/paragraph.To Reproduce
planecli comment create PROJ-1 --body $'first line\nsecond line'Then open the work item in the Plane web UI — the comment shows as
first line second line(or one unbroken block), because the body is stored as raw HTML and plain\nis not a line break in HTML.Expected behavior
Each line of
--bodyrenders on its own line, matching what the user typed.Environment