diff --git a/.gitignore b/.gitignore index aebae61..b98ca32 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ node_modules htmldiff-cli.js js/ .DS_Store +htmldiff-cli.d.ts diff --git a/package-lock.json b/package-lock.json index 625d907..2e600b1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@matrixreq/htmldiff", - "version": "2.0.0", + "version": "2.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@matrixreq/htmldiff", - "version": "2.0.0", + "version": "2.0.1", "license": "MIT", "bin": { "htmldiff": "htmldiff-cli.js" diff --git a/package.json b/package.json index f63d149..8ed093a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@matrixreq/htmldiff", "description": "Diff and markup HTML with and tags", "companyname": "Matrix Requirements", - "version": "2.0.0", + "version": "2.0.1", "keywords": [ "diff", "html", diff --git a/src/core/tokens.ts b/src/core/tokens.ts index 286499f..3638e6e 100644 --- a/src/core/tokens.ts +++ b/src/core/tokens.ts @@ -154,14 +154,13 @@ function isEndOfHtmlComment(word: string): boolean { } /** - * Inspects the last tag in the given string, its slice from the final '<'. A '>' before the - * slice's end means text follows e.g. "a > b" in a