Skip to content

Commit 6dadeea

Browse files
committed
Decoded HTML entities in JSON:API
1 parent 3165816 commit 6dadeea

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Helper/JsonAPISerializer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ static function ($key) {
8888
ARRAY_FILTER_USE_KEY
8989
);
9090

91+
$attributes = array_map('html_entity_decode', $attributes);
92+
9193
if (isset($attributes['elements'])) {
9294
try {
9395
$attributes['elements'] = Yaml::decode($attributes['elements']);

0 commit comments

Comments
 (0)