guardian / guardian/dotcom-rendering

Linebreaks are lost in comments

Open
#4,741 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
274
Forks
34
Avg merge
2d 22h
Merged PRs (30d)
121

Description

When previewing a comment or viewing it after it has been optimistically rendered additional line breaks are not shown. These missing breaks do appear when the page is refreshed and the server sent content is rendered.

![image](https://user-images.githubusercontent.com/1336821/165309757-1352e5b1-493c-423b-a3d8-3117d0a43741.png)

![image](https://user-images.githubusercontent.com/1336821/165309775-b120e77d-8041-4d4d-b412-fe4a2dbc0aef.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.