No Code Attached Yet
avatar PhilETaylor
PhilETaylor
23 May 2021

Steps to reproduce the issue

Install joomla 4
View configuration.php
Login to admin
save global configuration with no changes

see https://gist.github.com/PhilETaylor/95609cc3d716e985aa348da5b839cced/revisions

Expected result

After saving Joomla global config <br> is retained.

Actual result

<br> changed to <br />

System information (as much as possible)

Additional comments

avatar PhilETaylor PhilETaylor - open - 23 May 2021
avatar joomla-cms-bot joomla-cms-bot - change - 23 May 2021
Title
[4] configuration.php <br />
[4] configuration.php
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 May 2021
avatar PhilETaylor PhilETaylor - change - 23 May 2021
Title
[4] configuration.php
[4] configuration.php offline_message
avatar PhilETaylor PhilETaylor - edited - 23 May 2021
avatar PhilETaylor
PhilETaylor - comment - 23 May 2021
avatar PhilETaylor
PhilETaylor - comment - 23 May 2021

well if my personal troll is going to down thumb the change upstream in the filter, and if Joomla 4 demands that we continue using <br> instead of <br /> then Joomla (The CMS™) needs to make a decision to either fork the filter library to be able to make their change, or to stop enforcing the use of <br> over `
in Joomla 4.

For the avoidance of doubt - any valid <br> in valid HTML sent through the filter will come out the other side as <br /> currently. This is not limited to the offline message in Global Config, but to any use of the filter for safeHTML

Over to you George @wilsonge

avatar PhilETaylor PhilETaylor - change - 7 Mar 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-03-07 18:37:02
Closed_By PhilETaylor
Labels Added: No Code Attached Yet
Removed: ?
avatar PhilETaylor PhilETaylor - close - 7 Mar 2022
avatar brianteeman
brianteeman - comment - 8 Jun 2022

as the upstream pull request this valid bug should be reopened

Add a Comment

Login with GitHub to post a comment