<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

// @codingStandardsIgnoreFile

/* @var \Magento\Wishlist\Block\Customer\Wishlist\Item\Options $block */
?>

<?php $options = $block->getOptionList(); ?>
<?php if ($options): ?>
    <div class="product-item-tooltip-options">
        <?php foreach ($options as $option): ?>
            <div>
                <label><?= $block->escapeHtml($option['label']) ?></label>
                <span>
              <?php if (is_array($option['value'])): ?>
                  <?= /* @noEscape */
                  nl2br(implode("\n", $option['value'])) ?>
              <?php else: ?>
                  <?= /* @noEscape */
                  $option['value'] ?>
              <?php endif; ?>
          </span>
            </div>
        <?php endforeach; ?>
    </div>
<?php endif ?>
