Fix validation callback to use the uri, not whole row

This commit is contained in:
Daniel Imms
2017-09-24 10:59:38 -07:00
parent 1f49879298
commit a2389d5c5b
2 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -236,7 +236,7 @@ export class Linkifier extends EventEmitter implements ILinkifier {
// Ensure the link is valid before registering
if (matcher.validationCallback) {
matcher.validationCallback(text, isValid => {
matcher.validationCallback(uri, isValid => {
// Discard link if the line has already changed
if (this._rowsTimeoutId) {
return;