Просмотр исходного кода

16460 remove spaces from telephone dialing

Arthur Hanson 1 год назад
Родитель
Сommit
207c91ef6b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      netbox/utilities/tables.py

+ 1 - 1
netbox/utilities/tables.py

@@ -29,7 +29,7 @@ def linkify_phone(value):
     """
     if value is None:
         return None
-    return f"tel:{value}"
+    return f"tel:{value.replace(' ', '')}"
 
 
 def register_table_column(column, name, *tables):