Index: code/web/modules/contrib/international_phone/international_phone.info.yml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- code/web/modules/contrib/international_phone/international_phone.info.yml	(date 1500739148000)
+++ code/web/modules/contrib/international_phone/international_phone.info.yml	(date 1500739148000)
@@ -13,5 +13,6 @@
 # Information added by Drupal.org packaging script on 2017-07-22
 version: '8.x-1.0'
 core: '8.x'
+core_version_requirement: ^8 || ^9
 project: 'international_phone'
 datestamp: 1500739148
 
 # The list of dependencies must contains the 'field' value
 dependencies:
diff --git a/src/Plugin/Field/FieldFormatter/InternationalPhoneDefaultFormatter.php b/src/Plugin/Field/FieldFormatter/InternationalPhoneDefaultFormatter.php
index df2a107..c873813 100644
--- a/src/Plugin/Field/FieldFormatter/InternationalPhoneDefaultFormatter.php
+++ b/src/Plugin/Field/FieldFormatter/InternationalPhoneDefaultFormatter.php
@@ -4,7 +4,7 @@ namespace Drupal\international_phone\Plugin\Field\FieldFormatter;
 
 use Drupal\Core\Field\FieldItemListInterface;
 use Drupal\Core\Field\FormatterBase;
-use Drupal\Component\Utility\SafeMarkup;
+use Drupal\Component\Utility\Html;
 
 /**
  * Plugin implementation of the 'AddressDefaultFormatter' formatter.
@@ -31,7 +31,7 @@ class InternationalPhoneDefaultFormatter extends FormatterBase {
       $text = '';
 
       if (isset($item->value)) {
-        $text = SafeMarkup::checkPlain($item->value);
+        $text = Html::escape($item->value);
         // iPhone Support.
         if (strpos($_SERVER['HTTP_USER_AGENT'], 'iPhone') !== FALSE) {
           $text = '<a href="tel:' . $text . '">' . $text . '</a>';
diff --git a/src/Plugin/Field/FieldWidget/InternationalPhoneDefaultWidget.php b/src/Plugin/Field/FieldWidget/InternationalPhoneDefaultWidget.php
index 4fe50cd..22ba955 100644
--- a/src/Plugin/Field/FieldWidget/InternationalPhoneDefaultWidget.php
+++ b/src/Plugin/Field/FieldWidget/InternationalPhoneDefaultWidget.php
@@ -5,7 +5,6 @@ namespace Drupal\international_phone\Plugin\Field\FieldWidget;
 use Drupal\Core\Field\FieldItemListInterface;
 use Drupal\Core\Field\WidgetBase;
 use Drupal\Core\Form\FormStateInterface;
-use Drupal\Component\Utility\SafeMarkup;
 
 /**
  * Plugin implementation of the 'InternationalPhoneDefaultWidget' widget.
