Skip to content

Commit 049cc7f

Browse files
committed
fix: pass options to diff
1 parent 0a0e85e commit 049cc7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class HtmlDiffer {
4444

4545
// just pass in keys for the left and right html, the original strings are no longer used
4646
// after tokenize()
47-
const diff = htmlDiffer.diff('html1', 'html2');
47+
const diff = htmlDiffer.diff('html1', 'html2', this.options);
4848

4949
return handleMasks(diff);
5050
}

0 commit comments

Comments
 (0)