diff --git a/src/Utility/Unicode.php b/src/Utility/Unicode.php
index 685476e..398ed9e 100644
--- a/src/Utility/Unicode.php
+++ b/src/Utility/Unicode.php
@@ -85,7 +85,12 @@ class Unicode extends \Drupal\Component\Utility\Unicode {
    */
   public static function isSimple($string, $length = 250, $allowed_tags = NULL, &$html = FALSE) {
     // Typecast to a string (if an object).
-    $string_clone = (string) $string;
+    if (is_array($string)) {
+      $string_clone = print_r($string, TRUE);
+    }
+    else {
+      $string_clone = (string) $string;
+    }
 
     // Use the advanced drupal_static() pattern.
     static $drupal_static_fast;
