diff --git a/CHANGELOG.txt b/CHANGELOG.txt index c13bd5e3af..17698f8949 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -10,6 +10,7 @@ Changelog * Fix: Make `WAGTAILIMAGES_CHOOSER_PAGE_SIZE` setting functional again (Rohit Sharma) * Fix: Enable `richtext` template tag to convert lazy translation values (Benjamin Bach) * Fix: Ensure permission labels on group permissions page are translated where available (Matt Westcott) + * Fix: Preserve whitespace in comment replies (Elhussein Almasri) * Docs: Remove duplicate section on frontend caching proxies from performance page (Jake Howard) * Docs: Document `restriction_type` field on PageViewRestriction (Shlomo Markowitz) * Maintenance: Use `DjangoJSONEncoder` instead of custom `LazyStringEncoder` to serialize Draftail config (Sage Abdullah) diff --git a/client/src/components/CommentApp/components/CommentReply/style.scss b/client/src/components/CommentApp/components/CommentReply/style.scss index 765c5b6a02..72fb7d9c9f 100644 --- a/client/src/components/CommentApp/components/CommentReply/style.scss +++ b/client/src/components/CommentApp/components/CommentReply/style.scss @@ -13,6 +13,7 @@ padding-top: 10px; padding-bottom: 10px; word-break: break-all; + white-space: pre-wrap; &--mode-deleting { color: theme('colors.text-context'); diff --git a/docs/releases/6.2.md b/docs/releases/6.2.md index 5149b2e8c7..3a5c70c012 100644 --- a/docs/releases/6.2.md +++ b/docs/releases/6.2.md @@ -23,6 +23,7 @@ depth: 1 * Make `WAGTAILIMAGES_CHOOSER_PAGE_SIZE` setting functional again (Rohit Sharma) * Enable `richtext` template tag to convert lazy translation values (Benjamin Bach) * Ensure permission labels on group permissions page are translated where available (Matt Westcott) + * Preserve whitespace in comment replies (Elhussein Almasri) ### Documentation