diff --git a/assets/js/ckeditor/dialogs/footnotes.js b/assets/js/ckeditor/dialogs/footnotes.js
index b25a907..d5bffd3 100644
--- a/assets/js/ckeditor/dialogs/footnotes.js
+++ b/assets/js/ckeditor/dialogs/footnotes.js
@@ -17,7 +17,7 @@
                                 label: Drupal.t('Footnote text :'),
                                 setup: function (element) {
                                     if (isEdit)
-                                        this.setValue(element.getText());
+                                        this.setValue(element.getHtml());
                                 }
                             },
                             {
diff --git a/assets/js/ckeditor/plugin.js b/assets/js/ckeditor/plugin.js
index c8bfb3a..8182727 100644
--- a/assets/js/ckeditor/plugin.js
+++ b/assets/js/ckeditor/plugin.js
@@ -109,7 +109,7 @@ CKEDITOR.plugins.footnotes = {
     }
 
     if (text && text.length > 0 )
-      realElement.setText(text);
+      realElement.setHtml(text);
     if (value && value.length > 0 )
       realElement.setAttribute('value',value);
 
