Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

bitfactory

macrumors 6502
Original poster
Hi Folks,

I'm build an iPhone web app, and I discovered that when I display some data with a hyphen - it displays it as a link - the phone thinks it's a telephone number.

Here's what's being displayed:
<span>72-04756</span>

It creates a break before and after this number, and turns it into a link.

Any ideas how to display this number without the phone thinking it's a phone number? I thought the only time the phone would trigger a phone number with with a <a href="tel:555-555-5555"> link.

???
 
i don't think the hyphen was the problem --- i would think the fact that it's a 7-digit number would confuse it

just my thoughts
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.