remove html escaping of data values

This commit is contained in:
Rafal Leszczynski 2015-05-20 13:56:19 +02:00 committed by rafal.kalinski
parent 0ad49267af
commit d28749eac7

View file

@ -17,8 +17,8 @@ class NodeImage extends Node {
return [
'url' => $this->resolveImageUrl( $title ),
'name' => ( $title ) ?htmlspecialchars( $title->getText() ) : '',
'key' => ( $title ) ? htmlspecialchars( urlencode( $title->getDBKey() ) ) : '',
'name' => ( $title ) ? $title->getText() : '',
'key' => ( $title ) ? $title->getDBKey() : '',
'alt' => $alt,
'caption' => $caption,
'ref' => $ref