Skip to content

Commit 7b3fb87

Browse files
committed
Merge pull request #111 from bem/feature/tokenize
Improve tokenizer
2 parents db3858f + 68edab8 commit 7b3fb87

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)