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/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