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

Fixes #1574 - update regex and target field for text url removal #1632

Merged
merged 1 commit into from
Jul 7, 2017

Conversation

cch5ng
Copy link
Contributor

@cch5ng cch5ng commented Jul 2, 2017

update existing test

cleanup: #1574; remove comments

tests: #1574; update existing selector

@cch5ng
Copy link
Contributor Author

cch5ng commented Jul 2, 2017

@karlcow R? it is JS but I think it was your code. also there was an existing test which appeared relevant.

Copy link
Member

@karlcow karlcow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

after this fix. This can be merge. If modifications are done after Friday. I'll defer to @zoepage or @miketaylr for the merge.

""
);
this.stepsToReproduceField.val(function(idx, value) {
return value.replace(/\[!\[[^\]]+\]\([^\)]+\)\]\([^\)]+\)$/);

This comment was marked as abuse.

This comment was marked as abuse.

update existing test

cleanup: #1574; remove comments

tests: #1574; update existing selector

style: #1574; linting fix

fix: #1574; update replace() syntax
@miketaylr
Copy link
Member

Looks good, thanks @cch5ng!

@miketaylr miketaylr merged commit 77e8657 into master Jul 7, 2017
@miketaylr miketaylr deleted the issues/1574/3 branch July 7, 2017 16:14
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.

3 participants