blob: fed770c8f7271141d98d6c514695a0f6af5d49d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
From d864af14cf8645f5ab09df9cd406b4eafd113a57 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Tue, 3 Aug 2021 10:36:00 +0200
Subject: [PATCH] fix for laminas/escaper 2.8
---
src/Cloud/Decorator/HtmlTag.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Cloud/Decorator/HtmlTag.php b/src/Cloud/Decorator/HtmlTag.php
index 6e50578..89ab75b 100644
--- a/src/Cloud/Decorator/HtmlTag.php
+++ b/src/Cloud/Decorator/HtmlTag.php
@@ -241,7 +241,7 @@ public function render($tags)
$tagHTML = sprintf(
'<a href="%s" %s>%s</a>',
- $escaper->escapeHtml($tag->getParam('url')),
+ $escaper->escapeHtml($tag->getParam('url') ?? ''),
$attribute,
$escaper->escapeHtml($tag->getTitle())
);
|