Issue Feature Closed

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

Gabriel Kaufmann TYPOworx GmbH | NewMedia 04/28/21, 09:58 updated 10/09/26, 17:36

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 2

  1. Georg Ringer commented and changed status New Closed <span data-processor="relativetime" data-value="2026-10-09T17:36:15+00:00" > 10/09/26, 17:36 </span>

    Thanks for the report and sorry for the long silence.

    I am closing this issue, for the following reasons:

    • HTML output will not be supported. Wizard output regularly contains record data such as titles or file paths. Rendering it as HTML in the Install Tool would open the door to XSS, so the info box deliberately renders the message as escaped text. The same applies to nl2br: it only works if the content is rendered as HTML.
    • Formatted output is available on the CLI. vendor/bin/typo3 upgrade:run executes the same wizards and shows everything written via $output->writeln() with line breaks and Symfony console formatting. For wizards that produce longer or structured output, the CLI is the recommended way to run them.