From 355da7ddf365a46c423b640bbd1a3e88ab4ff9d4 Mon Sep 17 00:00:00 2001
From: Georg Ringer <georg.ringer@gmail.com>
Date: Thu, 14 Jan 2016 17:58:25 +0100
Subject: [PATCH] [BUGFIX] Use f:format.raw instead of f:format.html for
 InfoBox

To avoid escaped HTML instead of interpreted if no lib.parseFunc is
available, f:format.raw should be used.

Change-Id: If8bd3e4cf51f0ed138785a413fe1f227f219f937
Resolves: #72707
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/45895
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
---
 typo3/sysext/backend/Resources/Private/Templates/InfoBox.html   | 2 +-
 typo3/sysext/func/Resources/Private/Templates/InfoBox.html      | 2 +-
 .../sysext/tstemplate/Resources/Private/Templates/InfoBox.html  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/typo3/sysext/backend/Resources/Private/Templates/InfoBox.html b/typo3/sysext/backend/Resources/Private/Templates/InfoBox.html
index a526fbbd5e57..870c90946284 100644
--- a/typo3/sysext/backend/Resources/Private/Templates/InfoBox.html
+++ b/typo3/sysext/backend/Resources/Private/Templates/InfoBox.html
@@ -1,3 +1,3 @@
 <f:be.infobox title="{title}" state="{state}">
-	<f:format.html>{message}</f:format.html>
+	<f:format.raw>{message}</f:format.raw>
 </f:be.infobox>
diff --git a/typo3/sysext/func/Resources/Private/Templates/InfoBox.html b/typo3/sysext/func/Resources/Private/Templates/InfoBox.html
index a526fbbd5e57..870c90946284 100644
--- a/typo3/sysext/func/Resources/Private/Templates/InfoBox.html
+++ b/typo3/sysext/func/Resources/Private/Templates/InfoBox.html
@@ -1,3 +1,3 @@
 <f:be.infobox title="{title}" state="{state}">
-	<f:format.html>{message}</f:format.html>
+	<f:format.raw>{message}</f:format.raw>
 </f:be.infobox>
diff --git a/typo3/sysext/tstemplate/Resources/Private/Templates/InfoBox.html b/typo3/sysext/tstemplate/Resources/Private/Templates/InfoBox.html
index a526fbbd5e57..870c90946284 100644
--- a/typo3/sysext/tstemplate/Resources/Private/Templates/InfoBox.html
+++ b/typo3/sysext/tstemplate/Resources/Private/Templates/InfoBox.html
@@ -1,3 +1,3 @@
 <f:be.infobox title="{title}" state="{state}">
-	<f:format.html>{message}</f:format.html>
+	<f:format.raw>{message}</f:format.raw>
 </f:be.infobox>
-- 
GitLab