mirror of
https://github.com/discourse/discourse.git
synced 2025-02-26 23:45:42 +08:00

Prior to this fix we would output an image with no width/height which would then bypass a large part of `CookedProcessorMixin` and have no aspect ratio. As a result, an image with no size would cause layout shift. It also removes a fix for oneboxes in chat messages due to this case.