From 76bba45a050affe3a34de7f0ab05de11d3f21a1d Mon Sep 17 00:00:00 2001
From: Torben Hansen <derhansen@gmail.com>
Date: Thu, 15 Feb 2024 08:53:43 +0100
Subject: [PATCH] [BUGFIX] Add missing quotes to image processing suggestion

Install tool suggests to set
`$GLOBALS['TYPO3_CONF_VARS']['GFX']['processor_colorspace'] = sRGB`
if images appear too dark. In general this is the correct
suggestion, but the value must be quoted.

This change adds the missing single quotes for the value.

Resolves: #103124
Releases: main, 12.4
Change-Id: I2e1fd2ebebf1d67870145df29ec0e40b330a5065
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82975
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Tested-by: Oliver Bartsch <bo@cedev.de>
---
 .../Private/Templates/Environment/ImageProcessing.html          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typo3/sysext/install/Resources/Private/Templates/Environment/ImageProcessing.html b/typo3/sysext/install/Resources/Private/Templates/Environment/ImageProcessing.html
index e2b96e4295d0..a91218011bf7 100644
--- a/typo3/sysext/install/Resources/Private/Templates/Environment/ImageProcessing.html
+++ b/typo3/sysext/install/Resources/Private/Templates/Environment/ImageProcessing.html
@@ -17,7 +17,7 @@
 <f:be.infobox title="Dark images" state="-1">
     <p>
         In case the images appear remarkably darker than the reference images,
-        try to set<br/> <code>$GLOBALS['TYPO3_CONF_VARS']['GFX']['processor_colorspace'] = sRGB</code>.
+        try to set<br/> <code>$GLOBALS['TYPO3_CONF_VARS']['GFX']['processor_colorspace'] = 'sRGB';</code>.
     </p>
 </f:be.infobox>
 
-- 
GitLab