Commit 8b92160
committed
Exclude trailing parenthesis from URL
I found that when a link was enclosed in parentheses, e.g., (https://google.com), the opening parenthesis was correctly excluded from the URL, but the closing one was included. This is fixed here using the same pattern that excludes closing periods, but there may be a better way (either earlier in the regex, or maybe the exclusions should be in a foreach loop).1 parent 02b6846 commit 8b92160
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
129 | 134 | | |
130 | 135 | | |
131 | 136 | | |
| |||
0 commit comments