From e32023bd7161e77c11bb3a15e650d940976790b8 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 21 Nov 2017 12:36:13 +0100 Subject: [PATCH] DocSectionRenderer: trim trailing image url space fixes #3117 --- modules/doc/library/Doc/Renderer/DocSectionRenderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/doc/library/Doc/Renderer/DocSectionRenderer.php b/modules/doc/library/Doc/Renderer/DocSectionRenderer.php index 3922089bc..de2d4d460 100644 --- a/modules/doc/library/Doc/Renderer/DocSectionRenderer.php +++ b/modules/doc/library/Doc/Renderer/DocSectionRenderer.php @@ -194,7 +194,7 @@ class DocSectionRenderer extends DocRenderer $path = $this->getView()->getHelper('Url')->url( array_merge( array( - 'image' => $img->getAttribute('src') + 'image' => trim($img->getAttribute('src')) ), $this->urlParams ),