Conversation
Codecov Report
@@ Coverage Diff @@
## master #120 +/- ##
=======================================
Coverage 48.09% 48.09%
=======================================
Files 6 6
Lines 576 576
=======================================
Hits 277 277
Misses 282 282
Partials 17 17
Continue to review full report at Codecov.
|
hanzei
left a comment
There was a problem hiding this comment.
One suggestion, but otherwise LGTM
| WordMatch bool `json:"wordmatch"` | ||
| DisableNonWordPrefix bool `json:"disable_non_word_prefix"` | ||
| DisableNonWordSuffix bool `json:"disable_non_word_suffix"` | ||
| Name string |
There was a problem hiding this comment.
0/5 maybe keep the json tags to ensure they stay the same in the future
levb
left a comment
There was a problem hiding this comment.
Oops cc @crspeller Thanks for fixing!
|
@iomodo I seem to be getting results that are quite different from the expected 1.1.1 behavior oulined here #115 (comment) I have deployed the code change from this PR and my config looks like this (note the chevrons It looks like the input does not match the patterns and so auto-link is not doing anything at all. Any thoughts? |
|
@DHaussermann the problem might be the pattern string, it has too many slashes. Try these: |
DHaussermann
left a comment
There was a problem hiding this comment.
Tested and passed
- Tested the input provided in the related issue and I see the desired output
- Tested to ensure enabling word match does not garble results with the sample input as mentioned in the issue
- Added a test for
DisableNonWordPrefixto release testing to cover this case - Regression tested the feature here 8c82b7d that introduced the bug. No issues found with Jira plugin support.
LGTM!
Thanks @iomodo for the help on this one.

Summary
This PR will remove json field names in autolink struct.
Ticket Link
Fixes #115