Fixed Leading whitespaces get auto-removed on "Edit" click

akok

Member
Affected version
2.2.2
Hi,
If you click "Edit" on my post, all leading whitespaces within CODE tag will be auto-removed. Bug.

Example:

Code:
    var
log : string, StdOutput, StdError: TStringList, exitcode : integer;
begin
log := GetAVZDirectory +'bits.log';
end.
 

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.5).

Change log:
In the RTE, maintain single leading spaces on new lines (particularly for code blocks).
There may be a delay before changes are rolled out to the XenForo Community.
 
Top