{"action":"opened","issue":{"url":"https://api.github.com/repos/Polymer/polymer/issues/2688","labels_url":"https://api.github.com/repos/Polymer/polymer/issues/2688/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer/issues/2688/comments","events_url":"https://api.github.com/repos/Polymer/polymer/issues/2688/events","html_url":"https://github.com/Polymer/polymer/issues/2688","id":115244074,"number":2688,"title":"Format-detection breaks data binding (Apple UIWebView)","user":{"login":"ronnyroeller","id":9339055,"avatar_url":"https://avatars.githubusercontent.com/u/9339055?v=3","gravatar_id":"","url":"https://api.github.com/users/ronnyroeller","html_url":"https://github.com/ronnyroeller","followers_url":"https://api.github.com/users/ronnyroeller/followers","following_url":"https://api.github.com/users/ronnyroeller/following{/other_user}","gists_url":"https://api.github.com/users/ronnyroeller/gists{/gist_id}","starred_url":"https://api.github.com/users/ronnyroeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronnyroeller/subscriptions","organizations_url":"https://api.github.com/users/ronnyroeller/orgs","repos_url":"https://api.github.com/users/ronnyroeller/repos","events_url":"https://api.github.com/users/ronnyroeller/events{/privacy}","received_events_url":"https://api.github.com/users/ronnyroeller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-05T09:38:36Z","updated_at":"2015-11-05T09:38:36Z","closed_at":null,"body":"I bind a string property `text` as following:\r\n```html\r\n<div>[[text]]</div>\r\n```\r\n\r\nI run this element in Apple UIWebView. When changing the value of the `text` property during runtime, the old content partially remains in the `<div>`.\r\n\r\nI suspect this is caused by UIWebView changing the internal HTML to make the phone numbers clickable. I see the following in the Safari inspector when setting `text` to `+31600000000`:\r\n\r\n```html\r\n<div><a dir=\"ltr\" href=\"tel:+31600000000\" x-apple-data-detectors=\"true\" x-apple-data-detectors-type=\"telephone\" x-apple-data-detectors-result=\"2\">+31600000000</a></div>\r\n```\r\n\r\nAfter changing `text` to `+31699999999` this becomes:\r\n\r\n```html\r\n<div class=\"text style-scope paper-contact-phone\"><a dir=\"ltr\" href=\"tel:+31600000000\" x-apple-data-detectors=\"true\" x-apple-data-detectors-type=\"telephone\" x-apple-data-detectors-result=\"0/1\">+31600000000</a>+31 6 <a dir=\"ltr\" href=\"tel:99999999\" x-apple-data-detectors=\"true\" x-apple-data-detectors-type=\"telephone\" x-apple-data-detectors-result=\"0/1\">99999999</a></div>\r\n```\r\n\r\nWorkaround: Instruct UIWebView to not auto-detect phone numbers by adding to the header of the HTML file:\r\n```html\r\n<meta name=\"format-detection\" content=\"telephone=no\">\r\n```\r\n\r\nSee [Apple documentation](https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html)"}}