I’m facing a little problem, on my app I’m receiving code embed, like :
<p>Hello</p>
<a href="http://google.fr">Link to Google</a>
So this little piece of HTML will be well rendered in app. But if the user want to click on the link, this will open a window that create an overlay over the app with the web site. And it’s impossible to go back, the user need to close the app. This code embed can be very different, so a ‘fixed’ solution cannot be used.
Another solution is to parse the code embed, if <a href> is found, add inside the <a href> a (tap) action.
Like <a href="http://google.fr" (tap)="openExternally('http://google.fr')>Link to Google</a>". And the openExternally() function should be :
(using inAppBrowser plugin)