mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 19:38:24 +00:00
* use image alt as a fallback when there's no title * update spec we used to check that the overlay information is added when the image has a titie. This adds 2 more scenarios. One where an image has both a title and an alt, in which case the title should be used and alt ignored. The other is when there's only an alt, it should then be used to generate the overlay