# Delete user line break is broken

**URL:** https://meta.discourse.org/t/delete-user-line-break-is-broken/237861
**Category:** UX
**Created:** [September 1, 2022, 7:07pm UTC](https://meta.discourse.org/t/delete-user-line-break-is-broken/237861 "2022-09-01T19:07:52Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Noah](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@Noah](https://meta.discourse.org/u/Noah)
#### Post date: [September 1, 2022, 7:07pm UTC](https://meta.discourse.org/t/delete-user-line-break-is-broken/237861/1 "2022-09-01T19:07:52Z")

</div>

Tried to delete a user from my forums, it seems the text has been changed, the line break seems to have issues:

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/a/9/1a9168bb6c62195ecf275116146bc0a1cdfb4b04.png)

I’m not sure if this is just me, please let me know if you’re able to reproduce.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [September 1, 2022, 8:25pm UTC](https://meta.discourse.org/t/delete-user-line-break-is-broken/237861/2 "2022-09-01T20:25:29Z")

</div>

I’ve just checked on my test site and the text is wrapping normally. I am a few commits behind so have just kicked off an upgrade to make sure. In the meantime, does this also happen in safe-mode for you?

**Update:** Testing the one on the admin page does show the raw `<br><br>`:

 ![image](https://global.discourse-cdn.com/meta/original/4X/7/f/0/7f098c59398d93d072ecae8f2da2f614226434ac.png)

---

<div class="post-metadata">

### Author: ![Noah](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@Noah](https://meta.discourse.org/u/Noah)
#### Post date: [September 2, 2022, 7:16pm UTC](https://meta.discourse.org/t/delete-user-line-break-is-broken/237861/3 "2022-09-02T19:16:47Z")

</div>

I can also assure you that I have the exact same behaviour on safe-mode.

#### Installed

### 2.9.0.beta9

([7eaa4f6ad3](https://github.com/discourse/discourse/commits/7eaa4f6ad39cfd6c69f81426645c54308e5f1291))

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 3, 2022, 10:07am UTC](https://meta.discourse.org/t/delete-user-line-break-is-broken/237861/4 "2022-09-03T10:07:08Z")

</div>

Sounds like a bug and that the template loading that field needs to use html-safe.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [September 5, 2022, 8:03am UTC](https://meta.discourse.org/t/delete-user-line-break-is-broken/237861/5 "2022-09-05T08:03:12Z")

</div>

This should be fixed as part of this commit 👍

[https://github.com/discourse/discourse/pull/18179](https://github.com/discourse/discourse/pull/18179)

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [September 6, 2022, 7:00am UTC](https://meta.discourse.org/t/delete-user-line-break-is-broken/237861/6 "2022-09-06T07:00:30Z")

</div>

This topic was automatically closed after 22 hours. New replies are no longer allowed.
