[openstreetmap/openstreetmap-website] Line breaks aren't working in user profiles (#1503)

Nelson A. de Oliveira notifications at github.com
Tue Mar 28 03:49:48 UTC 2017


Have this example in the user profile description:

```
foo  
bar

foo  
bar
```

Both `foo` have two spaces at the end.
In preview we can see this:

![](https://cloud.githubusercontent.com/assets/982338/24388288/0fc6bfc8-1350-11e7-9ff8-dc44fbeb4fc0.png)

But after saving and taking a look at the profile (https://www.openstreetmap.org/user/username) we have this:

![](https://cloud.githubusercontent.com/assets/982338/24388293/19427a9c-1350-11e7-88ab-ea2bd9616bb9.png)

ie, there isn't a line break between the first `bar` and the second `foo`

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1503
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170327/40941881/attachment.html>


More information about the rails-dev mailing list