|
@@ -97,7 +97,8 @@ class D7NodeProgramme extends D7Programme {
|
|
|
if (!empty($special[$field])) {
|
|
|
// creating the sous partie contents (sub paragraphes)
|
|
|
$text = $special[$field][0];
|
|
|
- $text[0]['format'] = 'wysiwyg';
|
|
|
+ // TODO: bad format http://dev.d9.popsu.archi.fr/node/213/edit?
|
|
|
+ $text['format'] = 'wysiwyg';
|
|
|
$p = Paragraph::create(['type' => 'sous_partie_programme_contents']);
|
|
|
$p->set('field_texte', $text)
|
|
|
->set('field_titre', $special['title'])
|