Please ensure that this argument is a referenced parameter instead of directly passing it this way.

```yml
ezpublish.fieldType.ezxmlText.converter.embedToHtml5.excludedAttributes: [view, node_id, object_id]
ezpublish.fieldType.ezxmltext.converter.embedToHtml5:
    class: %ezpublish.fieldType.ezxmltext.converter.embedToHtml5.class%
    arguments:
        - @ezpublish.view_manager
        - @ezpublish.api.repository
        - %ezpublish.fieldType.ezxmlText.converter.embedToHtml5.excludedAttributes%
```

You will then need to change `EmbedToHtml5` constructor a bit :

```php
public function __construct( Manager $viewManager, Repository $repository, array $excludedAttributes )    
{
    $this->viewManager = $viewManager;
    $this->repository = $repository;
    $this->excludedAttributes = array_fill_keys( $excludedAttributes, true );
}
```