protected static function highlightField($fieldContent, $arguments)
    {
        $highlightInfo = self::getHighlightInfo($arguments);

        if (is_array($fieldContent)) {
            $result = [];
            foreach ($fieldContent as $singleField) {
                $result[] = self::highlightSingleField($singleField, $highlightInfo, $arguments);
            }
        } else {
            $result = self::highlightSingleField($fieldContent, $highlightInfo, $arguments);
        }

        return $result;
    }