mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 11:58:27 +00:00
f73ed45de9
When looking for the first paragraph with content in a post, it was matching the lightboxed image paragraph as "<p></p>". Fix that and other potential empty paragraphs with the p:not(:empty) selector. Add a new selector to find the image links in lightboxed images as valid content for emails.