Skip to content

Commit 68edab8

Browse files
author
unlok
committed
Improve tokenizer. Add slash.
1 parent 7e87ace commit 68edab8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var _ = require('lodash'),
1111
HtmlDiff.prototype.tokenize = function (html) {
1212
html = modifyHtmlAccordingToOptions(html, this.options);
1313

14-
return _.filter(html.split(/([{}:;,<>"'\[\]]|\s+)/));
14+
return _.filter(html.split(/([{}:;,<>"'\[\]\/]|\s+)/));
1515
};
1616

1717
/**

0 commit comments

Comments
 (0)