Project

General

Profile

Actions

Feature #94005

open

Install-Tool callout-box used for Status Messages should support HTML / Line-Breaks

Added by Gabriel Kaufmann / Typoworx NewMedia over 3 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2021-04-28
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The Install-Tool callout-box used for Status Messages should support HTML or at least use nl2br to correctly display messages written using $output->writeln() .

With TYPO3 v9+ the Install-Tool support Symfony Input/Output Models and Formatters for interakting with the user. More complex custom wizards giving output-messages are currently ouput without any formatting nor line-breaks in the callout box appearing after running a wizard.

I think it would be a good idea to support HTML formattings here. To archive best compatibility between CLI and Web-Interface there could be an additional Symfony Formatter (WebOutputFormatter) which transforms pure CLI/Text output to HTML formattings.

At least Line-Breaks should be supported using nl2br.

I've tested HTML ouput, but the whole HTML is displayed as text, because InfoBox.js rendering the callout is using .text(message), for correct rendering it would have to use _.html(message.
_


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #95810: Output in upgrade wizard looses formatClosed2021-10-28

Actions
Actions #1

Updated by Riccardo De Contardi 5 months ago

  • Related to Bug #95810: Output in upgrade wizard looses format added
Actions

Also available in: Atom PDF