Skip to content

Commit 05401fb

Browse files
committed
Update tokenization of the input
1 parent 79d4b0c commit 05401fb

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)