Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Luciox 22 posts 115 karma points
    Oct 12, 2016 @ 11:05
    Luciox
    0

    Issue with tel protocol and UK phone number

    Hi, Hope you can help me! I am trying to write out a UK phone number in a view using the tel: protocol e.g.

    <a href="tel:+448006000000">
    

    (Note - number is made up, but it is a UK 0800 number)

    In the Chrome browser, this shows in HTML source as:

    <a href="tel:800 0680 060">
    

    ... so it is dropping the leading zero. It does the same for the number 08006000000.

    I have hardcoded it, tried to write just the number and also the whole anchor tag using Html.Raw with the same result.

    Any thoughts what is causing this and how to prevent this behaviour?

    Many thanks for your help, Luciox

  • Alex Skrypnyk 6133 posts 23952 karma points MVP 7x admin c-trib
    Oct 17, 2016 @ 13:54
    Alex Skrypnyk
    0

    Hi Luciox,

    Where are you using this phone?

    Is it Rich Text Editor?

    Thanks,

    Alex

Please Sign in or register to post replies

Write your reply to:

Draft