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

change link regex to look for space. Avoids matching <address> tag #22

Merged
merged 1 commit into from
Apr 7, 2014
Merged

change link regex to look for space. Avoids matching <address> tag #22

merged 1 commit into from
Apr 7, 2014

Conversation

davekaro
Copy link
Contributor

@davekaro davekaro commented Mar 5, 2014

I ran into issues when my emails had <address>tags in the HTML. The regex was matching the <a all the way to the end of my next close </a> tag.

I added a space to only match <a href=.... tags.

@fgrehm
Copy link
Owner

fgrehm commented Mar 6, 2014

Thanks! Would you mind adding a spec to make sure we don't break that on the future? If you need help please LMK!

@fgrehm fgrehm merged commit dbe6a2f into fgrehm:master Apr 7, 2014
@fgrehm
Copy link
Owner

fgrehm commented Apr 7, 2014

I've added a spec and merged, pushing to rubygems in a few. Thanks a lot!

@davekaro
Copy link
Contributor Author

davekaro commented Apr 9, 2014

Oh thanks! I meant to do this but lost track of it. Sorry.

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

Successfully merging this pull request may close these issues.

2 participants