Place a tel: link in KB Article user can click on Mobile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2017 11:09 AM
I've been trying to get a telephone number to show up as a clickable link within a KB article so mobile app / browser users can click the number to call our support desk and various other departments within the business. I've tried Insert Link and putting tel:####### to no avail. I've also tried <a href="tel:5551234567">Call (555)123-4567</a> both using the insert link function and just by pasting it in the Test field. The article type is set to HTML but I can't seem to get the result I'm looking for.
I did find this post by Matthew Watkins, How do I set up a hyperlink that will not ask the user to navigate away from the page? but I don't know how I could use this from within a KB Article.
Any suggestions / ideas / and especially a working solution would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2017 12:35 PM
I've never tried this before, but I *HAVE* had my HTML corrupted more than once in KB creation. First thing I'd do is output the raw HTML of the KB article to see if yours got edited in some way.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2018 02:52 PM
You need to update the HTML Sanitize white list to allow the tel protocol to be used. Edit the HTMLSanitizerConfig script include and update the HTML_WHITELIST property to look like this:
HTML_WHITELIST: {
urlAttributes: { "protocols" : [ "http", "https", "tel" ] },
globalAttributes: {
attribute: [],
attributeValuePattern: {}
}
},
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2023 08:02 PM
HI Mike,
Can we limit this sanitation to just KB articles or it will impact the entire platform?
Thanks!!
Krishna