Fixed Layout bug with code block and floated elements

Affected version
2.2

Brogan

XenForo moderator
Staff member
See the post here: https://xenforo.com/community/threads/layout-bug.187026/

This is the content:

///

Some text.

More text.

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

[code=php]<?php

$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');

XF::start($dir);
XF::runApp('XF\Admin\App');[/code]

Yet more text.

///

1603741279100.png
 

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.
 
Top