How to escape html generate by a loop

This seems to have done the trick:

  // Display our list of font options
          $allowed_html = array(
              'option' => array(
                  'value' => array(),
                  'selected' => array()
              ),
          );
          echo wp_kses($fontListStr, $allowed_html);