Merge pull request #3118 from Icinga/fix/strip-doc-img-trailing-ws-3117

DocSectionRenderer: trim trailing image url space
This commit is contained in:
lippserd 2017-11-21 14:08:32 +01:00 committed by GitHub
commit 29364be810
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,7 +194,7 @@ class DocSectionRenderer extends DocRenderer
$path = $this->getView()->getHelper('Url')->url( $path = $this->getView()->getHelper('Url')->url(
array_merge( array_merge(
array( array(
'image' => $img->getAttribute('src') 'image' => trim($img->getAttribute('src'))
), ),
$this->urlParams $this->urlParams
), ),