Links on separate lines end up on the same line

A bug impacting the saved searches plugin:

I think this is caused by links in secured categories which won’t be oneboxed. The preview pane shows the desired output, but they end up on one line in the final cooked post.

5 Likes

That is very odd as there are clearly linebreaks between the links.

I think I saw something similar here: Inline onebox not working with public topics I suspect this is due to my markdown.it upgrade. Going to write a test case for this.

4 Likes

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

6 Likes