More tests

This commit is contained in:
Daniel Imms
2017-03-31 02:10:07 -07:00
parent 5546baa927
commit 8c2db8ddb8
2 changed files with 40 additions and 7 deletions
+1 -1
View File
@@ -312,7 +312,7 @@ export class Linkifier {
const leftText = fullText.substring(0, substringIndex);
const leftTextNode = this._document.createTextNode(leftText);
this._replaceNode(node, leftTextNode, newNode);
return 1;
return 0;
}
// Replace with <textnode><newNode><textnode>