Skip to content
Snippets Groups Projects
Commit db6bfaf7 authored by Georg Ringer's avatar Georg Ringer
Browse files

[BUGFIX] Remove double encoding of upgrade wizard.

Replace the <br>-Tags with a LF char and render the linebreak
using CSS.

Resolves: #83875
Releases: master
Change-Id: I4429d2929104f922d5f9c0e5c048617848e805e5
Reviewed-on: https://review.typo3.org/55987


Reviewed-by: default avatarFrank Naegler <frank.naegler@typo3.org>
Tested-by: default avatarFrank Naegler <frank.naegler@typo3.org>
Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarGuido Schmechel <littlegee@web.de>
Tested-by: default avatarGuido Schmechel <littlegee@web.de>
Reviewed-by: default avatarMichael Oehlhof <typo3@oehlhof.de>
Reviewed-by: default avatarJoerg Boesche <typo3@joergboesche.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent 590c3a4b
Branches
Tags
No related merge requests found
......@@ -403,3 +403,9 @@ a[data-toggle="collapse"] {
table-layout: fixed;
word-wrap: break-word;
}
.upgradeWizards-wizards-output {
.row-explanation {
white-space: pre-wrap;
}
}
......@@ -83,7 +83,7 @@ class DatabaseRowsUpdateWizard extends AbstractUpdate
1484066647
);
}
$description .= '<br />' . htmlspecialchars($rowUpdater->getTitle());
$description .= LF . $rowUpdater->getTitle();
}
return $updateNeeded;
......
......@@ -51,7 +51,7 @@
</div>
<div class="t3js-upgradeWizards-list-row-template">
<h4 class="t3js-upgradeWizards-list-row-title"></h4>
<div class="t3js-upgradeWizards-list-row-explanation"></div>
<div class="row-explanation t3js-upgradeWizards-list-row-explanation"></div>
<button class="btn btn-default t3js-upgradeWizards-list-row-execute" type="button">
Execute
</button>
......@@ -104,7 +104,7 @@
<hr>
<h4>Available wizards</h4>
<div class="t3js-upgradeWizards-wizards-output"></div>
<div class="upgradeWizards-wizards-output t3js-upgradeWizards-wizards-output"></div>
<hr>
......
source diff could not be displayed: it is too large. Options to address this: view the blob.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment