Skip to content

Commit 574d029

Browse files
committed
Merge pull request #128 from bem/update-tokenizer
Update tokenization of the input
2 parents fabe793 + 7ff6b09 commit 574d029

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
@@ -12,7 +12,7 @@ var _ = require('lodash'),
1212
HtmlDiff.prototype.tokenize = function (html) {
1313
html = modifyHtmlAccordingToOptions(html, this.options);
1414

15-
return _.filter(html.split(/({{.+?}}(?!})|[{}\(\)=:;,<>"'\[\]\/]|\s+)/));
15+
return _.filter(html.split(/({{.+?}}(?!})|[{}\(\)\[\]#\*`=:;,<>"'\/]|\s+)/));
1616
};
1717

1818
/**

0 commit comments

Comments
 (0)