Skip to content
New issue

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

MailHide shouldn't be applied to email addresses within form input values. #37

Open
KZeni opened this issue May 6, 2011 · 0 comments
Open

Comments

@KZeni
Copy link

KZeni commented May 6, 2011

I have had numerous cases where there's a form with a hidden input field pre-populated to determine the email notification recipient, or something similar to that. The problem arises when the code for the form suddenly becomes <input type="hidden" name="recipient" value="<span class="mh-email"... and so on (therefore totally breaking the form).

I see there's code that looks to see if an email is hyperlinked, but it would be tremendously helpful if the same would be done for if an email is within an input tag.

I was using remove_filter for various situations to get around this in the past, but the newest version's object-oriented functions makes remove_filter not able to disable this on a per-case scenario. I've had to disable mailhide entirely to resolve this in the meantime, but I'd love to get back to using this plugin's full set of capabilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant