diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/area/TextCustom.php b/core/modules/views/lib/Drupal/views/Plugin/views/area/TextCustom.php
index f0d410c..b0f2b86 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/area/TextCustom.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/area/TextCustom.php
@@ -18,7 +18,7 @@
  *   id = "text_custom"
  * )
  */
-class TextCustom extends AreaPluginBase {
+class TextCustom extends Text {
 
   protected function defineOptions() {
     $options = parent::defineOptions();
@@ -40,7 +40,7 @@ public function submitOptionsForm(&$form, &$form_state) {
   }
 
   function render($empty = FALSE) {
-    if (!$empty || !empty($this->options['empty'])) {
+    if ($empty || !empty($this->options['empty'])) {
       return $this->render_textarea_custom($this->options['content']);
     }
 
