ucla/mwf — Issue #33: .not-phone-number when format-detection telephone is "yes"
Author: ebollens
Created: 2011-12-07 22:41:13+00:00
State: open

Rich raised a question in IRC about preventing phone number format detection.

The simple answer is to use meta[name="format-detection" && content="telephone=no"].

However, what about for content providers using format detection? There's a solution for Skype with Windows that inserts a span around each set of numbers so that the hyphens do not cause auto-detection. It will need to be tested in iOS and Android to confirm that it is indeed effective here, but this is essentially the idea:

```javascript
$('.not-phone-number').each(function(){
var str = '';
var arr = this.innerHTML.split('-');
for(var i = 0; i < a.length-1; i++)
str += a[i]+'-';
str += a[a.length-1]+'';
this.innerHTML = str;
});
```

The MWF version will need to do this without using jQuery of course, but basically it's just another sprinkle to put into MWF 1.3.