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
When the URL contains 'email', the mailto isn't seeing that it's already in a tag.
mailto
% cat test.php <?php include('lib_autolink.php'); $html = "http://this.is.link/[email protected]&[email protected]&x=1"; $html = autolink($html,0); echo $html . "\n"; $html = autolink_email($html); echo $html . "\n";
The output is:
% php test.php <a href="http://this.is.link/[email protected]&[email protected]&x=1">this.is.link/[email protected]&[email protected]&x=1</a> <a href="http://this.is.link/[email protected]&<a href="mailto:[email protected]&">[email protected]&</a>;x=1"><a href="mailto:this.is.link/[email protected]&">this.is.link/[email protected]&</a>;<a href="mailto:[email protected]&">[email protected]&</a>;x=1</a>
When I expected the second line to be the same as the first.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When the URL contains 'email', the
mailto
isn't seeing that it's already in a tag.The output is:
When I expected the second line to be the same as the first.
The text was updated successfully, but these errors were encountered: