sanitizeElementData( $data[ 'caption' ], '' ); return $data; } protected function sanitizeElementData( $elementText, $allowedTags = null ) { return $this->stripUnneededElements( parent::sanitizeElementData( $elementText, $allowedTags ) ); } }