# Links on separate lines end up on the same line

**URL:** <https://meta.discourse.org/t/links-on-separate-lines-end-up-on-the-same-line/83911>\
**Category:** Bug\
**Created:** [26.Март.2018 22:07:24 UTC](https://meta.discourse.org/t/links-on-separate-lines-end-up-on-the-same-line/83911 "2018-03-26T22:07:24Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [11.Апрель.2018 19:35:53 UTC](https://meta.discourse.org/t/links-on-separate-lines-end-up-on-the-same-line/83911/7 "2018-04-11T19:35:53Z")

</div>

I fixed our code that was supposed to strip empty `<p>` elements but was a bit too greedy

[https://github.com/discourse/discourse/commit/3c8b43bb011da73507c022b0dceaa807fd718c3f](https://github.com/discourse/discourse/commit/3c8b43bb011da73507c022b0dceaa807fd718c3f)

---

_[View the full topic](https://meta.discourse.org/t/links-on-separate-lines-end-up-on-the-same-line/83911)._
