diff --git a/simple_cookie_compliance.module b/simple_cookie_compliance.module
index 6bf1240..ca8a634 100644
--- a/simple_cookie_compliance.module
+++ b/simple_cookie_compliance.module
@@ -49,13 +49,13 @@ function template_preprocess_cookie_compliance(&$vars) {
   global $language;
 
   // The text to show in the area.
-  $message = variable_get('simple_cookie_compliance_content_' . $language->language);
+  $message = variable_get('simple_cookie_compliance_content_' . $language->language, ['format' => 'full_html']);
 
-  if (empty($message)) {
+  if (empty($message['value'])) {
     $message['value'] = t('This website uses cookies to help us give you the best experience when you visit our website. By continuing to use this website, you consent to our use of these cookies.');
   }
 
-  $vars['message'] = filter_xss($message['value']);
+  $vars['message'] = check_markup($message['value'], $message['format'], $language->language, true);
 
   // The form and submit button.
   $button_text = check_plain(variable_get('simple_cookie_compliance_button_agree_' . $language->language, t('OK')));
@@ -162,15 +162,15 @@ function _simple_cookie_compliance_settings_form() {
       );
 
       // Text setting for message.
-      $message = variable_get('simple_cookie_compliance_content_' . $language->language);
+      $message = variable_get('simple_cookie_compliance_content_' . $language->language, ['format' => 'full_html']);
 
-      if (empty($message)) {
+      if (empty($message['value'])) {
         $message['value'] = t('This website uses cookies to help us give you the best experience when you visit our website. By continuing to use this website, you consent to our use of these cookies.');
       }
 
       $form['language_' . $language->language]['simple_cookie_compliance_content_' . $language->language] = array(
         '#type' => 'text_format',
-        '#format' => 'full_html',
+        '#format' => $message['format'],
         '#title' => t('Message'),
         '#default_value' => $message['value'],
         '#required' => TRUE,
