I have a common problem where mark-up is coming back from a feed (JSON), and I’m using ng-bind-html to output it as clean HTML. However in this mark-up, I have “anchor” tags that need to link to external content. Normally, I would just leave them - but I need to target the “anchor” tags to be opened in Cordova InAppWebView, and while setting “a” directive works - seems to be a timing issues and it doesn’t get picked up. Any guidance on how to get this to work?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Display web content into ion-content | 5 | 1973 | July 25, 2014 | |
Open external content with A[target='_blank'] for web browser but InAppBrowser for mobile device | 0 | 2070 | July 10, 2016 | |
Href to an external URL displays web site but impossible to return to app | 4 | 7967 | February 20, 2015 | |
How to: Opening links in content in system browser instead of Cordova browser wrapper | 28 | 87484 | June 14, 2017 | |
External links opening in the same window IOS | 0 | 1079 | January 6, 2016 |