Fixed Layout bug with code block and floated elements


XenForo moderator
Staff member
Affected version
See the post here:

This is the content:


Some text.

More text.

[ATTACH type="full" align="right" alt="1603741053704.png"]238438[/ATTACH]


$phpVersion = phpversion();
if (version_compare($phpVersion, '7.0.0', '<'))
die("PHP 7.0.0 or newer is required. $phpVersion does not meet this requirement. Please ask your host to upgrade PHP.");

$dir = __DIR__;
require($dir . '/src/XF.php');


Yet more text.



XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.2).

Change log:
Ensure that BB code blocks (code, quote, and similar) do not appear behind floated images.
There may be a delay before changes are rolled out to the XenForo Community.