diff options
author | Remi Collet <remi@remirepo.net> | 2021-08-03 10:53:02 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-08-03 10:53:02 +0200 |
commit | 9950edb163c3fe72e307839329d3fdaf0e0b30d9 (patch) | |
tree | 5a260e7d96f9d5b0438cf6331479e41523ce9d05 /php-laminas-tag-escaper.patch | |
parent | 057d9a73d8ad05db72f46ed72dfe871ca64ea428 (diff) |
add fix for laminas-escaper 2.8.0
https://github.com/laminas/laminas-tag/pull/6
Diffstat (limited to 'php-laminas-tag-escaper.patch')
-rw-r--r-- | php-laminas-tag-escaper.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/php-laminas-tag-escaper.patch b/php-laminas-tag-escaper.patch new file mode 100644 index 0000000..fed770c --- /dev/null +++ b/php-laminas-tag-escaper.patch @@ -0,0 +1,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()) + ); |