mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 04:18:23 +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.