We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks for this plugin and I've found that to allow it to work in cordova / phonegap, we need to use target="_system" instead of _blank.
target="_system"
_blank
This is required in Cordova's InAppBrowser plugin. Perhaps can include an option to specify the target instead of just newWindow?
Thanks.
The text was updated successfully, but these errors were encountered:
+1 please!
Sorry, something went wrong.
Hey, interesting. Will see what I can come up with.
Here's a workaround for the meantime:
var html = Autolinker.link( "Test google.com", { replaceFn : function( autolinker, match ) { var tag = match.buildTag(); // returns an Autolinker.HtmlTag instance tag.setAttr( 'target', '_system' ); return tag; } } );
+1 thx for the workaround
No branches or pull requests
Thanks for this plugin and I've found that to allow it to work in cordova / phonegap, we need to use
target="_system"
instead of_blank
.This is required in Cordova's InAppBrowser plugin.
Perhaps can include an option to specify the target instead of just newWindow?
Thanks.
The text was updated successfully, but these errors were encountered: