We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c40e36c commit 19296c8Copy full SHA for 19296c8
js/angular/service/ionicConfig.js
@@ -614,4 +614,11 @@ IonicModule
614
provider.$get = function() {
615
return provider;
616
};
617
+})
618
+// Fix for URLs in Cordova apps on Windows Phone
619
+// http://blogs.msdn.com/b/msdn_answers/archive/2015/02/10/
620
+// running-cordova-apps-on-windows-and-windows-phone-8-1-using-ionic-angularjs-and-other-frameworks.aspx
621
+.config(function($compileProvider) {
622
+ $compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|ftp|mailto|file|ghttps?|ms-appx|x-wmapp0):/);z
623
+ $compileProvider.imgSrcSanitizationWhitelist(/^\s*(https?|ftp|file|ms-appx|x-wmapp0):|data:image\//);
624
});
0 commit comments